首页 > 其他分享 >实验1-

实验1-

时间:2024-03-18 13:22:42浏览次数:14  
标签:pause return int system 实验 printf include

` #include <stdio.h>
#include <stdlib.h>
int main()
{
printf(" O O \n");
printf(" \n");
printf("I I I I\n");
printf(" O \n");
printf("\n");
printf("I I\n");
system("pause");
return 0;
}

include <stdio.h>

include <stdlib.h>

int main(){
float a,b,c;
while(scanf("%f%f%f",&a,&b,&c)!=EOF){
if(a<b+c && b<a+c && c<a+b)
printf("能构成三角形\n");
else
printf("不能构成三角形\n");
}
system("pause");
return 0;
}
`#include <stdio.h>

include <stdlib.h>

int main(){
char ans1, ans2;
printf("每次课前认真预习、课后及时复习了没? (输入y或Y表示有,输入n或N表示没有)

标签:pause,return,int,system,实验,printf,include
From: https://www.cnblogs.com/jiuzhuang/p/18080179

相关文章

  • 实验1
    task1`#nclude<stdio.h>intmain(){printf("O\n");printf("\n");printf("II\n");printf("O\n");printf("<H>\n");printf("II\n");return0;}#include<stdio......
  • 实验一
    点击查看代码#include<stdio.h>intmain(){printf("O\n");printf("<H>\n");printf("II\n");return0;}2.点击查看代码#include<stdio.h>intmain(){printf("O\n");printf("<H>......
  • 实验1
    点击查看代码#include<stdio.h>#include<stdlib.h>intmain(){ printf("oo\n"); printf("<H><H>\n"); printf("IIII\n"); system("pause"); return0;}点击查看代码#include<st......
  • 实验一 c语言开发环境使用和数据类型、运算符、表达式
    task1`#include<stdio.h>include<stdlib.h>intmain(){printf("o\to\n");printf("<H>\t<H>\n");printf("II\tII\n");system("pause:");return0;}`task2`#include......
  • 实验1
    #include<stdio.h>#include<stdlib.h>intmain(){printf("o\n");printf("<H>\n");printf("II\n");printf("o\n");printf("<H>\n");pr......
  • 实验1 C语言开发环境使用和数据类型、运算符、表达式
    点击查看代码#include<stdio.h>#include<stdlib.h>intmain(){ printf("oo\n"); printf("<H><H>\n"); printf("IIII\n"); system("pause"); return0;}点击查看代码#include<stdio......
  • 实验1
    #include<stdio.h>intmain(){ printf("o\n"); printf("<H>\n"); printf("II\n"); printf("o\n"); printf("<H>\n"); printf("II\n"); return0; }#include<......
  • C语言程序设计——实验报告 1
    *实验项目名称:实验一熟悉C语言运行环境*实验项目类型:验证性*实验日期:2023年3月14日一、实验目的下载安装Devc6.0程序。了解在该系统上如何进行编辑、编译、连接和运行一个C程序。通过运行简单的C程序了解C程序的特点。二、实验硬、软件环境Windows计算机、Devc6.0三、......
  • # c语言程序设计——实验报告
    实验项目名称:实验一熟悉C语言运行环境实验项目类型:验证性实验日期:2023年3月14日一、实验目的下载安装Devc6.0程序。了解在该系统上如何进行编辑、编译、连接和运行一个C程序。通过运行简单的C程序了解C程序的特点。二、实验硬、软件环境Windows计算机、Devc6.0三、......
  • c语言程序设计--实验报告一
    实验项目名称:实验一熟悉C语言运行环境实验项目类型:验证性实验日期:2023年3月14日一、实验目的下载安装Devc6.0程序。了解在该系统上如何进行编辑、编译、连接和运行一个C程序。通过运行简单的C程序了解C程序的特点。二、实验硬、软件环境Windows计算机、Devc6.0三、......