Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
include stdioh include mathhfloat dischargefloatfloat void main char prompt float timeoutcr cr 100e-6 for time
write a program to determine vc for a given value of time t include stdioh include mathh void main char prompt float vscrtvc
write a c program to compute the value of a sine wave from 0 to 2p with an increment of 01 radians include stdioh include mathh define pi
write a program to calculate the timetable for numbers 1 -gt 10 and display them as follows your solution should use for do loops
write a program to act as an electronic safe if the correct code has been entered the program should display safe open if an incorrect code is
write a c program to calculate the output y for a given value of x for the following formula yx2 2x 3 include stdioh void main
write a c program to compute the factorial of 5 ie 1x2x3x4x5 etcinclude stdioh void main char promt int factor
write a c program to input 16 numbers and print them out in a table format of 4 wide by 4 deep eg 4 5 5 7
write a c program to input three real numbers and print them out as follows the first variable is and the second one is the last variable is
write a c program to input five numbers and print them out on a new line eg 5 10 15 20 25 displayed as 5 10 15 20 25include
include stdioh struct complex float real float imag struct complex complexaddstruct complexstruct
a more advanced data type is the structure here we can define a template as a collection of different variables eg struct birthdate
it is standard on functions to provide some indication that the function has succeeded in its operation consider the scanf
talking to io boards inside a computer or microcontroller depends upon the principles used by the microprocessor to address physical devices on
write a program to create a binary file and store the following data hello 0x00301 1234 using visual studio examine the binary file and note
write a program to compute the following equation for values of time y 2x3 the values of time are stored in
although we can handle most io routines with getc and putc there are file versions of fgets fputs fprintf and fscanf the syntax is
access to the channeldevices is achieved by means of general purpose io routines theses are standard functions described in stdioh header file
within c we access external devices by means of a pointer ie address the address could point to any memory mapped device ie ram rom duart disk
write a c program to input your full forename and full surname eg james mccarren and display in one string your complete initial and surname ie j
available in the stringh header file are the following routines strcatstring1string2 this joins string2 to string1 care must be
the concept of a string in c is difficult because a string is a collection of characters stored in memory terminated by a null string ie 0 let
questistarting with a blank solution write a program to prompt the user for an employee number hourly rate and hours worked compute and display the
we started off taking about input output cpu and memory devices within c we need a method of storing large amounts of data in memory we have used the
write a function to calculate the exchange rate of pounds to dollars answer td 2xtp the parameter passed over is the