write a c program to do the following:
a) To find the area of a triangle.
b) To convert the temperature from Fahrenheit to Celsius.
c) To convert the time in hours : minutes : seconds to
seconds.
No Answer is Posted For this Question
Be the First to Post Answer
Suggesting that there can be 62 seconds in a minute?
Explain what is operator promotion?
What is the difference between local variable and global variable in c?
Do you know the difference between exit() and _exit() function in c?
What is c value paradox explain?
I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
0 Answers Lovely Professional University,
What is the c value paradox and how is it explained?
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
List a few unconditional control statement in c.
main() { char x; while(x=0;x<=255;x++) printf("\nAscii value %d Charater %c",x,x); }
what is answer for perfect number????????????????