- 2

I can’t figure out this problem Heeeelp

Write a program that takes two numbers as input, assigns those values to the provided a and b variables, then outputs their sum Use cin for user output

30th Nov 2021, 5:26 AM
Nobody ..
8 RĂ©ponses
+ 6
Nobody .. i think it should be c++ as mentioned by you. if you have learned the all exercises and answered all questions from the tutorial so far, you should be able to solve this task. i have taken a short view to the lesson 5.1 and 6.1, and have found all the required information that we need to solve the task successfully. there is a code shown that is very similar to what is asked in the exercise. may be you are going back some steps, read and practice, then try it again. happy coding and good duccess!
30th Nov 2021, 5:33 PM
Lothar
Lothar - avatar
+ 3
And your try?
30th Nov 2021, 5:34 AM
NEZ
NEZ - avatar
+ 2
https://www.sololearn.com/Course/CPlusPlus/?ref=app This is C++ course, complete it first
30th Nov 2021, 9:15 AM
NEZ
NEZ - avatar
+ 1
Oh it's easy why don't you start with the C course provided by sololearn.
30th Nov 2021, 6:01 AM
zexu knub
zexu knub - avatar
+ 1
First you have to focus on basic of the programming language
1st Dec 2021, 1:06 PM
Suraj Patil
Suraj Patil - avatar
30th Nov 2021, 5:33 AM
Simon Sauter
Simon Sauter - avatar
0
Ok then what is it
30th Nov 2021, 6:24 AM
Nobody ..
- 1
#include<iostream> using namespace std; int main() { int a,b; cout<<"Enter the Value of a : "; cin>>a; cout<<"Enter the Value of b : "; cin>>b; cout<< a << " + " << b << " = "<< a+b; return 0; }
1st Dec 2021, 5:07 PM
kajamohan
kajamohan - avatar