本专栏仅仅用于个人记录刷题过程,如有更好的解决方法,可以留言哦
题目要求
编写一个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: