Quizes
Problems
Courses
Sign
Register
Main
/
Courses
/
Basics of C++
/
Conditional operator
Conditional operator
№ 7
/17
Division of two numbers
Read Theory
Task
Time limit:
1000
ms,
Memory limit:
256 Mb
If the integer m is divisible entirely by the integer n, then output the quotient of the integer division of m by n, otherwise output the message "not completely divisible".
Input
: two integers (m and n) are fed to the input, on one line (n> 0)
Output
data: according to the condition of the problem
Auto
CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:
C++
Python
FreePascal
PascalABC.Net
Kumir
Java
JavaScript
TypeScript
C#
F#
Swift
Rules for designing programs and a list of errors during automatic task verification
Results: