0
How i code for sum of two integers and write its output
3 Réponses
+ 3
Shraddha, that depends on what language. Usually you can sum integers with the built in addition operator:
Python
print(5 + 2)
C++
std::cout << (5 + 2);
C
printf("%i", (3 + 4));
C#
System.Console.Write(5 + 4);
Javascript
console.log(2 + 4);
+ 2
Shraddha patel ,
your question is not as it should be.
if you really have a problem, we need some more details from you:
▪︎give a clear and complete description about your task
▪︎if your question is related to an exercise in a tutorial, please mention the tutorial name and the lesson number
▪︎if there are error messages please post them here
▪︎give at least one sample with input data and the expected output
▪︎to be able to find out the issues you have, we need to see your code
=> please put your code in playground, save it there and post a link to it here.
thanks for your understanding!
+ 1
Shraddha patel its not a big task if you know basic data types then Easily you can do it