I can’t figure out this problem Heeeelp | Sololearn: Learn to code for FREE!


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

11/30/2021 5:26:58 AM

Nobody ..

8 Answers

New Answer


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!


And your try?


https://www.sololearn.com/Course/CPlusPlus/?ref=app This is C++ course, complete it first


Oh it's easy why don't you start with the C course provided by sololearn.


First you have to focus on basic of the programming language


Please take a look at the forum rules: https://www.sololearn.com/Content-Creation-Guidelines/ https://www.sololearn.com/Discuss/1316935/?ref=app


Ok then what is it


#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; }