A+B with case numbers
Time limit1sMemory limit256 MB
Read T pairs of single-digit integers and print each sum as Case #x: A + B = C.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
Write a program that reads two integers and and prints . The input holds several test cases.
Input
The first line contains the number of test cases .
Each of the next lines holds one test case: two integers and separated by a single space. ()
Output
For each test case, print one line in the format Case #x: A + B = C. Here is the test case number starting from 1, and is the value of .