This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Write a C++ program to add, subtract, multiply, and divide two numbers1. | |
#include <iostream> | |
int main() { | |
int fitstNumber=0, secondNumber=0; | |
std::cout << "---------------------------------\n"; | |
std::cout << "enter the two numbers\n"; | |
std::cin>>fitstNumber>>secondNumber; | |
std::cout << "---------------------------------\n"; | |
std::cout << "Addition "<<fitstNumber+secondNumber; | |
std::cout << "\n---------------------------------\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
int main() | |
{ | |
std::cout<<"hello cpp world"; | |
return 0; | |
} |