額額啊啊擦
#include
int main() { ? ?//定義小編兜里的錢 ? ?double money =12 ? ? ?; ? ?//定義打車回家的費用 ? ?double cost = 11.5 ? ? ?; ? ? ?printf("小編能不能打車回家呢:y"); ? ?//輸出y小編就打車回家了,輸出n小編就不能打車回家 ? ?printf("%c/n", cost<=money ? ? ? ? ? ? ? ? ? ? ? ? ?); ? ?return 0; }#include
int main() { ? ?//定義小編兜里的錢 ? ?double money =12 ? ? ?; ? ?//定義打車回家的費用 ? ?double cost = 11.5 ? ? ?; ? ? ?printf("小編能不能打車回家呢:y"); ? ?//輸出y小編就打車回家了,輸出n小編就不能打車回家 ? ?printf("%c/n", cost<=money ? ? ? ? ? ? ? ? ? ? ? ? ?); ? ?return 0; }2015-08-26
舉報
2015-12-12
筆記請移步筆記區(qū)