Erle Robotics C++ GitBook

Exercises:Basics

Exercise 1

Write a program that adds two inputed numbers.

Solution

Exercise 2

Write a program that ask for a name and say hello.

Solution

Exercise 3

Write a program that evaluates the following things for two int numbers:

Sum,Diff,Product,Quotient,Remainder,Increment first num., Decrement Second num. in num3 =0.

Solution