Question: The source code file for the following assignment should be turned into the Homework 2 assignment on Blackboard for a grade. The code will be

The source code file for the following assignment should be turned into the Homework 2 assignment on Blackboard for a grade. The code will be built and tested using gcc under Cygwin. In the Tutorials Point C library reference, there is documentation for the printf() function that includes an example of using printf. You should use this example code as a guide: https://www.tutorialspoint.com/c_standard_library/c_function_printf.htm For homework 2 create a C program that prints your banner from homework 1 and then prints the ASCII values and characters from 60 to 115 along with: The values in Octal The values in Hex The pointer values The decimal value with a percent character % after it The backslash character before the Hex value An example (after the banner) might look like ASCII= 82, Char= R, Oct= 122, Hex= 52, Point= 0x52, Pct= 82%, Slash= * ASCII= 83, Char= S, Oct= 123, Hex= 53, Point= 0x53, Pct= 83%, Slash= + ASCII= 84, Char= T, Oct= 124, Hex= 54, Point= 0x54, Pct= 84%, Slash= , See Blackboard for due date. Please upload the source code only to the Blackboard assignment for homework #2. Do not upload any other files. Just source code with a .c file extension. (On the top is the homework 2 I send too you home 1 because is related to home work 2.on the bottom is the home work number 1 already resolve)

#include //Name of student //Date //Assignment //course information int main() { int studentID,i; char studentNAME[100]; printf(" enter studentName and StudentID "); scanf("%d",&studentID); scanf("%s",studentNAME); printf("---------------------------------------"); printf(" logo"); printf(" * * * * "); printf(" * * "); printf(" * * * * *"); printf(" * * "); printf(" * * * * "); for(i=0;i

The source code file for the following assignment should be turned into

enter studentName and StudentID 123456 vyshnavi logo Name vyshnavi ID 123456

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!