Download Calculator and more Study Guides, Projects, Research Advanced Computer Programming in PDF only on Docsity!
J/f calculator2.cpp : Defines the entry point for the console application. #include "stdafx.h" #includeciostream> #include -#include using namespace std; Jint main() i cout<<"\n\n"<>a: system("cls");cout<<"Enter the value of B:";cin>>b; system("cls") ;cout<<"\C\c\c\ce***** MENUS eee, cout<<"\t\t\t\tpress + for Addition\n";scout<<"\tit\t\tpress - for Subtruction\n"; cout>ch; switch (ch) { case '+': c=atb;cout<<"A+B="< 0 && c > 0){cout<<"ROOTS are real"<Reload a program and try again "<