MULTIPLIED BY 5
Problem Description
Ram play a game with guna to tell if ram say number gun have to reply
the number multiplied by 5 value, for example if ram say 2 guna has to reply 10.
using structure concept implement it.
Input Method
Integer ranges from 1 to 999
Output Method
Value multiplied by 5
CODING ARENA::
#include <stdio.h>
struct table
{
int a;
}t;
int main()
{
scanf("%d",&t.a);
printf("%d",5*t.a);
return 0;
}
Test Case 1
Input (stdin)3
Expected Output
15
Test Case 2
Input (stdin)4
Expected Output
20
No comments:
Post a Comment