URI Online Judge | 1004 Simple Product (Solution)

Problem Link:
https://www.urionlinejudge.com.br/judge/en/problems/view/1004

URI Online Judge | 1004

Simple Product

Adapted by Neilor Tonin, URI  Brazil
Timelimit: 1
Make a simple problem that only read two integer values. After that, calculate the product between them and store the result in a variable named PROD. Print the result like the sample below. Do not forget to print the end line after the result otherwise you will get “Presentation Error”.

Input

The input file will contain 2 integer numbers.

Output

Print PROD according to the following example, with a blank space before and after the equal signal.
Sample InputsSample Outputs
3
9
PROD = 27
-30
10
PROD = -300
0
9
PROD = 0
Solution:
#include<stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&a,&b);
    printf("PROD = %d\n",a*b);
    return 0;
}

Comments

  1. Analogica Data is one of best product developement company in india,developing a product means developing a bond with your clients and businesses. The strength of the relationship depends on the functionality and Product Development Service Provider
    .

    ReplyDelete
  2. Analogica data Best Product Development Company in India. Continuous process of innovation, process optimization, re- engineering,Product Developement,customization, cost rationalization, and localization

    ReplyDelete
  3. When i was going through the content, i realized that online information is much more convenient to read. How long would it have taken me to find a book that talks of simple products. You have shared a great post. meanwhile, if you are a student and you realize 'I need to Hire A Professional Cover Letter Writer,' kindly take time to check the link and find out more on the same.

    ReplyDelete

Post a Comment

Popular posts from this blog

URI Online Judge | 1036 Bhaskara's Formula (Solution)

URI Online Judge | 1043 Triangle (Solution)

URI Online Judge | 1042 Simple Sort (Solution)