Saturday, March 6, 2021

C program to convert NC (NEPALI currency) into IC (Indian Currency)

 

1.     Write a C program to convert NC (NEPALI currency) into IC (Indian Currency) 

 

#include<stdio.h>

#include<conio.h>

int main()

{

float i, n;

printf("Enter currency in Nepali Rupees: ");

scanf("%f", &n);

i=n/1.6;

printf("Nrs. Rs %.2f = IC Rs. %.2f ", n, i);

 

return 0;

}

1 comment: