Simple Calculations Program
Write a program that performs and outputs the results of the following mathematical operations:
- Subtract 10 from 25
- Multiply 4 by 7
- Divide 100 by 5
Requested Output
15
28
20
answer
#include <iostream>
int main()
{
std::cout << 25-10 << std::endl;
std::cout << 4*7 << std::endl;
std::cout << 100/5 << std::endl;
}