answersLogoWhite

0

void main()

{

int i;

float n1,n2;

abc:

printf("Enter two nos ");

scanf("%f%f",&n1,&n2);

printf("\n %f + %f = %f " ,n1,n2,n1+n2);

printf("\n %f - %f = %f " ,n1,n2,n1-n2);

printf("\n %f x %f = %f " ,n1,n2,n1*n2);

printf("\n %f / %f = %f " ,n1,n2,n1/n2);

printf("\npress 5 to make another calculation");

scanf("%d",&i);

if (i==5)

goto abc;

}

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What is extension in c programming?

for c language it is .c and for c++ it is .cpp


What is the difference between the header file and the preprocessor directive in programming language cpp?

pata nhn


Is there any software that makes software?

Software is programed in any computer language. There is software you use to make other but it depends on the language you are programing!!! Software for used to write software: C/C++ - Dev-Cpp, CodeBlocks, Eclipse Java - Eclipse Python - IDLE


Who invented cpp?

Bjarne Stroustrup is the recognized inventor of the C++ object oriented programming language. C++ was an enhancement to the C language, which was not object oriented.


What do the initials CBF and CPP stand for?

CPP


What libraries do you have to include in order to transfer characters from one computer to another?

You need a network library such as cpp-netlib.


When was CPP Group created?

CPP Group was created in 1980.


When was CPP Studios Event GmbH created?

CPP Studios Event GmbH was created in 1983.


How do you stop writing a file in c by using ctrl z in cpp?

Ctrl+Z mean EOF in WinDos, no matter what programming language you are using.


List some project titles in C and cpp?

Hai,Refer c++ programming language by kelly pohl. You will find Many interresting projects in c++.


What is ios in cpp?

iOS is made by apple for they iphones and stand for "Iphone OS" and is not used in computer programming... see related links for more info about iOS


What is difference between C language and Cpp language?

The C Programming language is structure oriented, and the C++ Programming language is Object oriented. In C, you create structures and function to process data and handle algorithms you write. in C++, you create classes that break down the algorithms into packages to get the job done. The great thing about C++ is that once you create a class, you can reuse it over and over in other programs. But with C, each part of the program is likely tightly integrated for that program and will require modifications to reuse it again later.C++ is an Object Oriented Programming but not C.This includes : -InheritanceAbstraction (using classes)Polymorphism - Operator overloading and virtual functionsGenericityand some more features...