Q:

Write a program that reads two integers from the standard input and prints the result of dividing the first number by the second

0

 Write a program that reads two integers from the standard input and prints the result of dividing the first number by the second. 

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#include <iostream>

int main() {
  int a, b;
  std::cin >> a >> b;
  std::cout << a / b << std::endl;

  return 0;
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now