/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
rank award
1 1000,00
2 500,000
3 250,000
any other 0
*******************************************************************************/
#include <stdio.h>
int main()
{
int r;
printf("enter the rank");
scanf("%d",&r);
if(r==1||r==2||r==3)
{
if(r==1)
printf("will get 1000,00 ");
if(r==2)
printf("will get 500,000");
if(r==3)
printf("will get 250,000");
}
else
printf("will get 0");
return 0;
}