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
內容已隱藏#include<stdio.h>int main(){* * ** * ** * ** ** ** **** cup_tea;** *** * * * * **** * * * * * cup_coffee; *** ** ** * ** * * * * total_price; * * * * * * * ** * * *** * ** ***** * * * * *** *** * ** * ****** * * * ** ** * * ** * * * * * * * * * * ** * * ** * * * * * * * * * * **** *** * ** ** * ** 0;}
內容已隱藏* * ** * * *** * * ** int main (){***** *** coffee,tea,total; ** *** **** * ** * * ******* *** ** ** * ** * **** ** ** ** ** ** ** * * **