前端开发
编程语言
数据库
服务器
系统/运维
网络/安全
移动开发
CMS教程
网站运营
保存到桌面
关于我们
收藏本站
素材狗

素材狗

  • 首页
  • 学习HTML/CSS
  • 学习PHP
  • 学习JAVA
  • 学习CMS
  • 编程问答
  • 实例代码
  • 学习Python学习Go学习Ruby学习C学习C++学习Perl学习Lua学习Rust学习Scala学习VB
  • 手机随时阅读

编程教程

前端开发

编程语言

数据库

服务器

系统/运维

网络/安全

移动开发

CMS教程

网站运营

前端问题

php问题

Java问题

Python问题

C/C++问题

C#/.NET问题

移动开发问题

数据库问题

07 12
从华氏温度转换为摄氏温度

从华氏温度转换为摄氏温度

#includestdio.hint main (void){float c;float f = 127.0;c = (f - 32) / 1.8;printf(%f degrees Fahrenheit equals %f Celsius \\n, f, c);
发布于104天前
0 阅读
07 12
读取成绩,计算平均考试成绩

读取成绩,计算平均考试成绩

#include stdio.hint main(){int numTest;float stTest, avg, total = 0.0;for (numTest = 0; numTest 25; numTest++)
发布于104天前
0 阅读
07 12
计算二次方程的根

计算二次方程的根

计算二次方程ax ^ 2 + bx + c = 0的根。由以下公式给出:(-b + square_root(b2 - 4ac))/2a和(-b - square_root(b2 - 4ac))/2a
发布于104天前
0 阅读
07 12
使用无限级数展开计算角度x的正弦值

使用无限级数展开计算角度x的正弦值

这里给出了无限级数展开的公式:sin x = x - x3/3! + x5/5! - x7/7! + ...这里,x是弧度,它取值范围-1 = x = 1。
发布于104天前
0 阅读
07 12
使用蒙特卡罗方法计算Pi的数学常数值

使用蒙特卡罗方法计算Pi的数学常数值

#include stdio.h#include stdlib.h#include math.hint main(){int p, intCircle = 0, intSquare, intToss = 3000, intRM;
发布于104天前
0 阅读
07 12
使用来自float.h和limits的数据,找到该系统的一些

使用来自float.h和limits的数据,找到该系统的一些

#include stdio.h#include limits.h// integer limits#include float.h// floating-point limits
发布于104天前
0 阅读
07 12
C语言比较两个整数

C语言比较两个整数

#include stdio.hint main() {int a, b;a = 11;b = 99;// to take values from user input uncomment the below lines −
发布于104天前
0 阅读
07 12
C语言比较三个整数

C语言比较三个整数

#include stdio.hint main() {int a, b, c;a = 11;b = 22;c = 33;if ( a b a c )
发布于104天前
0 阅读
07 12
C语言直角三角形

C语言直角三角形

#include stdio.hint main() {int n,i,j;n = 5;for(i = 1; i = n; i++) {for(j = 1; j = i; j++)
发布于104天前
0 阅读
07 12
C语言等边三角形

C语言等边三角形

#include stdio.hint main() {int n,i,j;n = 5;// number of rows.for(i = 1; i = n; i++) {for(j = 1; j = n-i; j++)
发布于104天前
0 阅读
07 12
C语言打印奇数值

C语言打印奇数值

// -------------------------------------#include stdio.hint main() {int i;for(i = 1; i = 10; i++) {
发布于104天前
0 阅读
07 12
C语言库rename()函数

C语言库rename()函数

#include stdio.hint main () {int ret;char oldname[] = file.txt;char newname[] = newfile.txt;
发布于104天前
0 阅读
07 12
C语言库strxfrm()函数

C语言库strxfrm()函数

// #include stdio.h#include string.hint main () {char dest[20];char src[20];int len;strcpy(src, Yiibai Point);
发布于104天前
0 阅读
07 12
C语言计数程序

C语言计数程序

// ---------------------------------------#include stdio.hint main() {int i, start, end;start = 1;
发布于104天前
0 阅读
07 12
C语言%c打印字符值

C语言%c打印字符值

// -------------------------------------#include stdio.hint main() {char ch[5] = {H, e, l, l, o};
发布于104天前
0 阅读
07 12
C语言字符串

C语言字符串

#include stdio.hint main() {char ch[5] = Hello;int i = 0;/* Print as a complete string */
发布于104天前
0 阅读
07 12
C语言函数

C语言函数

#include stdio.hint main() {int set1[5] = {10, 20, 30, 40, 50};int set2[5] = {101, 201, 301, 401, 501};
发布于104天前
0 阅读
07 12
C语言printf()函数

C语言printf()函数

// -----------------------#include stdio.hint main() {int a;int b;a = 10;b = 20;printf( Value of a = %d and value of b = %d\\n, a, b );
发布于104天前
0 阅读
07 12
C语言print语句中的转义序列

C语言print语句中的转义序列

// #include stdio.hint main() {charch1;charch2;charch3;charch4;ch1 = \\t;ch2 = \\n;
发布于104天前
0 阅读
07 12
C语言数学运算

C语言数学运算

// #include stdio.h#include math.hint main() {shorts;inti;longl;floatf;double d;printf( sin(s): %f\\n, sin(10));
发布于104天前
0 阅读
首页上一页 12 13 14 15 16 17 18 19 20 21 22 下一页末页 共 34页679条

学习编程

Python教程 开始学习
学习Python

Python不仅是一种计算机程序设计语言、还是一种面向对象、解释型的计算机程序语言,汇集整理Pytho......

Go教程 开始学习
学习Go

Go(又称 Golang)是 Google 的 Robert Griesemer,Rob Pike 及 Ken Thompson 开发的一种静态强类型、编译型语言。......

Ruby教程 开始学习
学习Ruby

Ruby是一种纯粹的面向对象编程语言。它由日本的松本行弘(まつもとゆきひろ/Yukihiro Matsumoto)创建于......

C教程 开始学习
学习C

C语言是一门面向过程的、抽象化的通用程序设计语言,广泛应用于底层开发。C语言能以简易的方式编......

最新发布

  • 网站图片丢失或者获取失败时显示默认图片的办法 4小时前
  • PHP正则表达式匹配字符方法汇总 4小时前
  • Nib文件是什么?Nib文件打开方法 5小时前
  • iOS、Mac OS X系统中编程实现汉字转拼音的方法(超级简单) 5小时前
  • iOS7 毛玻璃特效代码 5小时前

图文推荐

文章热榜

1 说明指定字段宽度时scanf()的工作原理。

#include stdio.hint main(void){char name1[11], name2[11];int count;printf(Please enter 2 names.\\n);

2 使用函数验证输入

#include stdio.h#include stdbool.hlong get_long(void);bool isWrongInput(long begin, long end,long low, long high);

3 何时在scanf使用&

#include stdio.hint main(void){int age;float assets;char pet[30];// stringprintf(Enter your age, assets, and favorite pet.\\n);

4 scanf跳过前两个输入整数

#include stdio.hint main(void){int n;printf(Please enter three integers:\\n);scanf(%*d %*d %d, n);

5 使用基本数据类型,并输出它们的值,int,floa

#include stdio.hint main(void){intintegerVar = 100;floatfloatingVar = 123.79;doubledoubleVar = 1.23e+11;

关于我们

© 2023 素材狗 版权所有并保留所有权