Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Courses
Basics of C++
(C++) Conditional operator
Module:
(C++) Conditional operator
Problem
3
/17
Largest of two numbers
Problem
Given two real numbers
a
and
b
.
The program should output the value of variable
a
if it is not less than the value of variable
b
, otherwise it should output the value of variable
b
.
Complete the program.
1000
ms
32 Mb
Rules for program design and list of errors in automatic problem checking
Teacher commentary