text: Program to convert Centimeters to Pixels | C # program to convert centimeter to pixels ; Function to convert centimeter to pixels ; Driver Code
code: using System ; class GFG { static double Conversion ( double centi ) { double pixels = ( 96 * centi ) / 2.54 ; Console . WriteLine ( pixels ) ; return 0 ; } public static void Main ( ) { double centi = 15 ; Conversion ( centi ) ; } }