随笔分类 - C
摘要:Exercise 3-1. Write a program that will first allow a user to choose one of two options:1. Convert a temperature from degrees Celsius to degrees Fahr...
阅读全文
摘要:#include int main (void) { double pay = 0.0; double hours = 0.0; int dollars = 0; int cents = 0; //ger the weekly pay ...
阅读全文
摘要:// Exercise 2.3 Calculating volume price of alternative products// The only problem here is to devise a way to determine the price// for the product ...
阅读全文
摘要:#include int main(void){ long feet = 0L; long inches = 0L; double length = 0.0; double width = 0.0; const long inches_per_feet = 1...
阅读全文
摘要:Exercise 2-1. Write a program that prompts the user to enter a distance in inches andthen outputs that distance in yards, feet, and inches. (For those...
阅读全文
摘要:// Exercise 1.3 Output a name and address#include int main(void){ printf("/"It's freezing in here,\" he said coldly.\n"); return 0;} // The double...
阅读全文
摘要:#includeint main(void){ printf("My name is xiaomi5320\n\tMy address is www.cnblogs.com/xiaomi5320\n"); return 0;}将1.1 换成一行输出。 Question: // The c...
阅读全文
摘要:#includeint main(void){ printf("My name is xiaomi5320\n\t"); printf("My address is www.cnblogs.com/xiaomi5320\n"); return 0;}
阅读全文

浙公网安备 33010602011771号