Convert the following java code to c programming pass


Convert the following Java code to C programming. Pass ProjectNum and ProjectName as parameter values and call printHeading from main method.

public class printHeading
{
// Main method
public static void main(String[] args)
{
{
printHeading(1, "Conversion"); // this statement calls the printHeading method
}
}
private static void printHeading(int ProjectNum, String ProjectName){

String name = "John Smith";
System.out.println(name);
System.out.println("class ");
System.out.println("Project: " + ProjectNum);
System.out.println(ProjectName);
System.out.println();

}
}

Solution Preview :

Prepared by a verified Expert
Computer Network Security: Convert the following java code to c programming pass
Reference No:- TGS01382648

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)