本專欄僅僅用於個人記錄刷題過程,如有更好的解決方法,可以留言哦
題目要求
編寫一個C程序,要求在屏幕上輸出以下一行信息。
This is my first c program
要求輸入
無
要求輸出
This is my first c program!
代碼如下
#include <stdio.h>
int main(){
printf("This is my first c program! ");
return 0;
}
本專欄僅僅用於個人記錄刷題過程,如有更好的解決方法,可以留言哦
題目要求
編寫一個C程序,要求在屏幕上輸出以下一行信息。
This is my first c program
要求輸入
無
要求輸出
This is my first c program!
代碼如下
#include <stdio.h>
int main(){
printf("This is my first c program! ");
return 0;
}
def convert_binary(num): result = [] if num <= 1: result.append(num) else: while True: