- 博客(3)
- 收藏
- 关注
原创 用javascirpt写一个表单,输入数一,数二和数三,点击按钮判断能否构成三角形,如果能则构成什么类型的三角形(等腰,等边还是其他)?
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> 第一条边:<input type="text">...
2019-05-20 08:14:48
477
原创 结构体变量的输入输出
#include<stdio.h>int main(void){ struct student { char *name; int num; int age; char sex; float score; }s1,s2; s1.name="Zhang ping"; s1.num=102; s1.age=23; printf("input sex and score\n"); ...
2018-03-19 20:13:03
12345
原创 结构体变量赋值及成员引用
#include<stdio.h>#include<string.h>struct person{ char name[12]; int age; char sex; float height; float weight;};int main(void){ struct person p1={"ZhangSan",18,'M',1.75,70.5},p2,p3; prin...
2018-03-19 20:05:45
3471
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人