I'm having trouble with coming up with the correct code.
Thank You!!
The assignment was to write a program using string functions
that accepts a price of an item and displays its coded value. The base of the keys:
X C O M P U T E R S
0 1 2 3 4 5 6 7 8 9
Sample I/O Dialogue:
Enter Price: 489.50
Coded Value: PRS.UX
No Answer is Posted For this Question
Be the First to Post Answer
what is syntax error?
void main() { int i=1; printf("%d%d%d",i,++i,i++); } Cau u say the output....?
what are the techniques for reducing the fragility of a memory bug?
how to convert decimal to hexadecimal without using arrays just loops
Write a program to accept two strings of Odd lengths. Then take all odd characters from one string and even characters from the other and concatenate and produce a string.
loop1: { x=i<n?(i++):0; printf("%d",i); exit(x); continue; } Error- misplaced continue. Doubt-1.will the exit(x) be executed for all values of x 2.will this statement go out of the program.
void main() { int i=5,y=3,z=2,ans; clrscr(); printf("%d",++i + --z + i++ + --i * ++y); i=5,y=3,z=2; ans=++i + --z + i++ + --i * ++y; printf("\n%d",ans); getch(); } Its output is 37 and 31.... Please explain me why its different How it works.....
I am using Qt 5.6 during compilation it stops and gives error about Qmake The process "C:QtQt5.6.35.6.3msvc2015_64inqmake.exe" crashed. Error while building/deploying project untitled1 (kit: Desktop Qt 5.6.3 MSVC2015 64bit) When executing step "qmake"
what is run time error?
Write a c-programe that input one number of four digits and find digits sum?
main() { char c; for(c='A';c<='Z';c++) getch(); }
write the value of x and y after execution of the statements: int x=19,y; y=x++ + ++x; x++; y++;