Write the C program that receives the number of coffee cups and teacups. The program shows the TOTAL price after user press Enter. The price for one cup of coffee is $35, one cup of tea is $25
寫一個計算咖啡跟茶的總計
Example input:
3 2
Example output:
155
Hidden content!#include<stdio.h>int main(){* ** * * ** **** * * *** ** * ** * a,b,TOTAL=0; * * * ** * * * * * * ** * ** * ** * * * ** * * * *** * * * ** *** * * ** * * ** * ** * * * ** * * * ** ** * * ** * * * ** ** * }
Hidden content!#include * ** * ** #include * *** * * * * *int main(void){ * * * * * * * * a,b,c;* * * * * * ** * * * ** * * ** * * *** **** * *** ** ** * * * ** * * ** * * ** * ** * * * ** * * * * ** *** ** * * * * ** * ** * * * * *** * ** * 0;}
Hidden content!#include <stdio.h>int main(){**** * ***** * * * ** * * * cof,tea,sum; * *** *** * * *** ** * ** ***** * ** ** *** * ** ** * * **** * * * * ** * * * * * * ** * * ** * ** * * * ** ** ** * *** * **