0
How do you make 2 variables store into another
#include <iostream> using namspace std; int main() { Int a; Int b; Int c cin >> a; cin >> b; (a+b=c); cout << c << " Is your sum"; //what is the correct synax? }
1 Answer
+ 3
c=a+b;
try this :)
#include <iostream> using namspace std; int main() { Int a; Int b; Int c cin >> a; cin >> b; (a+b=c); cout << c << " Is your sum"; //what is the correct synax? }