Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  oviya.cpp
Language: C/C++
Code:
#include <stdio.h>
#include<conio.h>
void main()
{
int code;
float rupees;
clrscr();
printf("enter the code");
scanf("%d",&code);
if(code==101)
rupees = 2000*100.75;
else if(code==102)
rupees=1000*61.2486;
else
rupees=500*.59;
printf("indian rupees%f",rupees);
getch();
}
          
Comments: