Menu
Coddy logo textTech

Notebook

Lesson 19 of 32 in Coddy's Coding Problems course.

challenge icon

Challenge

Medium

Your teacher wrote three numbers A, B and C in your notebook. Put mathematical symbols so the operation between the first two numbers equals the third number.

Write a program that gets three natural numbers A, B and C from input. Output the wanted equation to the screen. (Use +, -, *, / and =)

 

Input
4 2 6

Output
4+2=6

Input
9 3 27

Output
9*3=27

Try it yourself

#include <stdio.h>

int main() {
    // Write code here
    return 0;
}

All lessons in Coding Problems