码迷,mamicode.com
首页 >  
搜索关键字:do while    ( 38720个结果
实验三
#include<math.h> #include<stdio.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c:"); while(scanf("%f%f%f",&a,&b,&c)!=EOF){ ...
分类:其他好文   时间:2020-11-24 12:17:23    阅读次数:9
2020计算机C语言
8 1 #include<stdio.h> 2 int num[100]; 3 int main() 4 { 5 int x; 6 int cnt = 0; 7 scanf("%d", &x); 8 while(x) { 9 num[++cnt] = x % 10; 10 x = x / 10; 1 ...
分类:编程语言   时间:2020-11-24 12:15:10    阅读次数:9
一顿操作猛如虎,一看头发。。。
#include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", &a, ...
分类:其他好文   时间:2020-11-24 12:14:01    阅读次数:6
mysql主从复制
两台mysql版本号为5.7以上 主库配置文件设置(注意设置在[mysqld]项中) 主库的ip地址为:192.168.1.1 server-id=1 #唯一id,主库设置1 log-bin=mysql-bin #日志记录 sync-binlog=1 binlog-do-db=test #同步指定的 ...
分类:数据库   时间:2020-11-23 12:43:46    阅读次数:28
实验3
实验任务4#include<stdio.h> #include<math.h> int main() { int n,a,b,i,s; printf("Enter a number:"); scanf("%d",&n); while(n){ i=0; s=0; while(n!=0){ a=n%10 ...
分类:其他好文   时间:2020-11-23 12:22:09    阅读次数:3
java 计算程序运行时间
毫秒计算 long startTime = System.currentTimeMillis(); //获取开始时间 // do Something long endTime = System.currentTimeMillis(); //获取结束时间 System.out.println("程序运 ...
分类:编程语言   时间:2020-11-23 12:21:38    阅读次数:8
views.jsp
#department ##input 部门新增或者修改 <form action="/department/saveOrUpdate.do" method="post"> <input type="hidden" name="id" value="${department.id}"> <input ...
分类:Web程序   时间:2020-11-23 12:15:32    阅读次数:11
基于链表的倒置算法
基本原理: 通过指针从头节点开始,将该链表的各节点依次接到临时指针的前面,然后返回临时指针所指向的地址。 算法分析: 第一:定义三个指针变量。一个用来存放下一个节点tem;一个用当做临时指针存放提取出来的节点h;一个用来指向该链表的头节点u。 第二:判断下一个节点(tem)是否为空,如果为不为空,则 ...
分类:编程语言   时间:2020-11-23 12:14:58    阅读次数:8
【Flutter 1-8】Flutter教程Dart语言——控制语句
Dart语言的控制语句跟其他常见语言的控制语句是一样的,基本如下: - **if 和 else** - **for 循环** - **while 和 do-while 循环** - **break 和 continue** - **switch 和 case** - **assert** ...
分类:编程语言   时间:2020-11-23 12:01:42    阅读次数:8
实验三
#include <math.h> #include <stdio.h> int main() { float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c"); while(scanf("%f%f%f",&a,&b,&c) !=EO ...
分类:其他好文   时间:2020-11-23 11:57:34    阅读次数:4
38720条   上一页 1 ... 61 62 63 64 65 ... 3872 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!