Sunday, June 21, 2020

URI Online Judge Solution 1004 - Brain Muscles URI 1004

Posted By: Naeem - June 21, 2020

Share

& Comment


URI Online Judge Solution 1004 - Brain Muscles URI 1004

URI Online Judge Solution 1004 ☺ Simple Product☺ URI Online Judge Solution 1004
Before seeing the solution make sure that you tried enough. Don’t paste the whole code, just find out the logic. If you stuck in trouble, just inform me on comment.

Add caption

URI 1004 Simple Product



URI Online Judge | 1004

Simple Product


Read two integer values. After this, calculate the product between them and store the result in a variable named PROD. Print the result like the example below. Do not forget to print the end of line after the result, otherwise you will receive “Presentation Error”.

Input

The input file contains 2 integer numbers.

Output

Print the message "PROD" and PROD according to the following example, with a blank space before and after the equal signal.
Samples Input
Samples Output
3
9
PROD = 27
-30
10
PROD = -300
0
9
PROD = 0


URI Solution 1004 Simple Product in C:



#include <stdio.h>
 int main()
{
 double A,R;
 int A,B,PROD;
  scanf("%d %d",&A,&B);
  PROD=A*B;
  printf("PROD = %d\n",PROD); 
return 0;
}




About Naeem

Techism is an online Publication that complies Bizarre, Odd, Strange, Out of box facts about the stuff going around in the world which you may find hard to believe and understand. The Main Purpose of this site is to bring reality with a taste of entertainment

0 comments:

Post a Comment

URI 1010 Solution- Brain Muscles URI 1010 Solution In C

URI Online Judge Solution 1010 - Brain Muscles URI 1010 URI Online Judge Solution 1010☺ Simple Calculate☺ URI Online Judge Solution 101...

Copyright © Brain Muscles™ is a registered trademark.

Designed by Templateism. Hosted on Blogger Platform.