*Welcome to your arithmetic training. This program tests your skills with basic mathematical operations between two numbers. Please select one of the following actions:
1. Addition.
2. Subtraction
3. Multiplication
4. Module Operation.
5. Random Arithmetic operations.
6. Exit.
*Values to sum, module operations, and number difference values must be up to 2 digits
*For products one of the factors must be one digit and the other up to 2 digits
You are required to build a program for ABC Builders, they have various models of houses which are all build on 1 canal area, the three models with costs are
House Models Building Cost Double
Story House 10000000
House with basement 20000000
Single Story 5000000
The property dealer give them the latest prices for area their house covers and the construction price building each model. The price of area is 1 crore, Calculate the total cost of whole house after construction. Suppose you have two users for this program, take input from them and based on their inputs calculate the total cost for their choice of house.
Write a C++ program to find roots of a quadratic equation using Ternary conditional
operator.
Select all devices that can be used by the Arduino as inputs
Motors
Pressure sensor
Electromagnets
Lights
Display devices
Select all devices that can be used by the Arduino as outputs
Speakers
Gas sensor
Lights
Buttons
Light sensor
why this switch statment is not valid??? reason
switch (n % 10)
case 2:
{
case 4:
case 6:
case 8:
cout << "Even";
break; case 1:
case 3:
case 5:
case 7:
cout << "Odd"; break; }
Select all devices that can be used by the Arduino as inputs
Lights
Touch sensor
Speakers
Gas sensor
Display devices
Select all devices that can be used by the Arduino as outputs
Light sensor
Buttons
Temperature sensor
Electromagnets
What will be the value of the answer variable be after the code segment below has run
Int answer= 84;
Int number 35 = 17;
Number 59 = 4;
Answer% = number 35- number 59
Bool solution ;
Int number 2= 10
Number 7 = 25
Number 9 = 16
Solution = number 2>= 7 & & number 2>number9