Posts

Showing posts from June, 2021

Conversion of Roman Numeral to Decimal Number.

Image
  As I have explain in my  Previous Blog  that what is Roman Numeral, what is Decimal Number. So in this blog I am not going to explain these stuff in this blog. If you have not read my previous blog then  Click Me  to read it then only you will able to understand this blog. Programming:- #include<stdio.h> #include<string.h> int  decimal ( char  c ) { int  count; switch ( c ) { case  'I' : count = 1; break ; case  'V' : count = 5; break ; case  'X':    count = 10;  break ;           case  'L':    count = 50;  break ;           case  'C':    count = 100;  b reak ;           case  'D':    count = 500;  break ;           case  'M':    count = 1000;  bre...