answersLogoWhite

0

#include <iostream>

using namespace std;

int main()

{

int i1, i2, i3;

char o;

cout << "Enter two integers sparated by an operator: ";

cin >> i1 >> o >> i2;

if ( o '/' && i2 != 0 )

{

i3 = i1 / i2;

cout << i1 << " / " << i2 << " = " << i3 << endl;

}

else

cout << "Input Error!" << endl;

return 0;

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

Why does the power point electricute me every time I stick my finger in it?

1. You are not very smart 2. If its the electrical outlet, its obviously obtains electricity. Therefore, it can electricute you


Difference between standard and canonical form?

The two CANONICAL FORMS of Boolean algebra are basic forms that one obtains from reading a function from the truth table. These forms are very seldom the ones with the least number of literals, because each minterm or maxterm must contain, by definition, all the variables either complemented or true form.Another way to express Boolean functions is in STANDARD FORM. In this configuration, the terms that form the function may contain one, two, or any number of literals.- Digital Design by Mano


Does one have to enable Java Script to obtain Webmail.1 and l?

"According to all websites which discuss this question, it does appear that Javascript, a popular scriptin and programming language, needs to be enabled in order to run the application which obtains Webmail.1."


How does rubber vulcanization work?

By far the most common vulcanizing methods depend on sulfur. Sulfur, by itself, is a slow vulcanizing agent and does not vulcanize synthetic polyolefins. Even with natural rubber, large amounts of sulfur, as well as high temperatures and long heating periods are necessary and one obtains an unsatisfactory crosslinking efficiency with unsatisfactory strength and aging properties. Only with vulcanization accelerators can the quality corresponding to today's level of technology be achieved.


How does caistor obtain its water supply?

Caistor obtains its water supply primarily from underground aquifers, which are sourced from natural rainfall that filters through the soil. The local water authority manages the extraction and distribution of this groundwater to ensure a consistent and safe supply for residents. Additionally, some water may be supplemented from nearby reservoirs or surface water sources, depending on demand and seasonal variations. Regular monitoring and treatment processes are in place to maintain water quality.

Related Questions

What obtains carbon and energy from the remain products or wastes of organisms?

producer


When a business obtains funds to expand or develop new products it is what?

generating ideas


What is an organism that obtains organic food molecules by eating other organisms or their by products and that cannot synthesize organic compounds from inorganic materials?

Heterotoph


What is an organism that obtains organic food molecules by eating other organisms or their by products and that cannot syntheize organic compounds from inorganic materials?

I believe it is an heterotroph.


Can credit card debt put a lien on your taxes?

Yes, if the creditor obtains a judgment lien in court.Yes, if the creditor obtains a judgment lien in court.Yes, if the creditor obtains a judgment lien in court.Yes, if the creditor obtains a judgment lien in court.


What is difference between ordering and buying retail merchandise?

The difference between ordering and buying is In ordering you obtains the delivery service from the shop to your destination and in case of Buying you don't use delivery services offered by the company.


What is the difference between identity theft and impersonation?

Impersonation means to assume the character or appearance of another person. It often means to do so fraudulently, but it does not necessarily mean that.Identity theft is a crime where an imposter obtains pieces of personal information, such as Social Security or driver's license numbers with the goal of impersonating someone else.


An organism obtains food shelter and other resources from its?

An organism obtains food and resources from its habitat.


What is the last step of the GPC Program process flow?

the ch obtains required approvals


How a seal obtains energy?

jkgkkrghkhgkehgkdfhgkdfhgkdgkdfjhgkfdjhkghdfk


When the body is exposed to sunlight it obtains?

It obtains a suntan (darkening of the skin), or sunburn, which is skin damaged by too long exposure to the sun's rays. Also vitamin D, essential for healthy bones, is also obtained.


What energy does the earth obtains most of?

Solar