C program to convert USD(dollar) into NC (NEPALI currency)

 

1.     Write a C program to convert USD(dollar) into NC (NEPALI currency) 

 

#include<stdio.h>

#include<conio.h>

int main()

{

int d, n;

printf("Enter currency in dollar: ");

scanf("%d", &d);

n=d*100;

printf("$ %d = Rs. %d ", d, n);

 

return 0;

}

 

Post a Comment

0 Comments