前端开发
编程语言
数据库
服务器
系统/运维
网络/安全
移动开发
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
读取一个整数,然后将该值所有大于10内的整数打

读取一个整数,然后将该值所有大于10内的整数打

如果输入为5,则输出从5到15。#include stdio.hint main(void){int input;int i = 0;printf(Enter an integer: );
发布于104天前
0 阅读
07 12
按降序排序整数数组

按降序排序整数数组

#include stdio.h#include stdlib.hvoid print(const int array[], int limit);void sort(int array[], int limit);
发布于104天前
0 阅读
07 12
不同类型的值的大小限制

不同类型的值的大小限制

以下符号表示整数类型的范围限制。类型最低限制最高限制charCHAR_MINCHAR_MAXshort
发布于104天前
0 阅读
07 12
C语言数字文字和类型后缀

C语言数字文字和类型后缀

如果将F附加到数字文字,则该数字将被视为浮点数。如果将L附加到数字文字,则该数字将变为长双精度数。对于整数类型,U后缀表示无符号,L表示长整数。类型后缀可以是上下两种情况。例如,F和f都指定浮点常量。
发布于104天前
0 阅读
07 12
编写一个接受正整数作为输入的程序,然后显示

编写一个接受正整数作为输入的程序,然后显示

#include stdio.h#include stdbool.hvoid flush_input_buffer(void);int main(void){bool prime_flag;
发布于104天前
0 阅读
07 12
下限和上限整数的平方

下限和上限整数的平方

读取下限和上限整数,计算从下限的平方到上限的平方的所有整数的平方和,并显示结果。
发布于104天前
0 阅读
07 12
打印一个表,每行给出一个整数,平和立方值

打印一个表,每行给出一个整数,平和立方值

#include stdio.hint main(void){long upper = -1, lower=0;int reads;do{printf(Enter lower and upper integer limits (in that order): );
发布于104天前
0 阅读
07 12
计算给定整数的平方和

计算给定整数的平方和

#include stdio.hint main(void){int sum, count, max_count;sum = 0;count = 1;printf(How many squares would you like to sum? );
发布于104天前
0 阅读
07 12
给出一个整数,使用for循环,将平方和立方打印

给出一个整数,使用for循环,将平方和立方打印

#include stdio.hint main( void ){int lower, upper, index;int square, cube;printf(Enter starting integer: );
发布于104天前
0 阅读
07 12
计算整数幂

计算整数幂

#include stdio.hdouble power(double n, int p); // ANSI prototypeint main(void){double x, xpow;
发布于104天前
0 阅读
07 12
编写一个程序,询问您的名字,姓氏,并格式打

编写一个程序,询问您的名字,姓氏,并格式打

#include stdio.hint main(void){char fname[40];char lname[40];printf(Enter your first name: );
发布于104天前
0 阅读
07 12
C语言库tolower()函数

C语言库tolower()函数

#include stdio.h#include ctype.hint main () {int i = 0;char c;char str[] = TUTORIALS POINT;
发布于104天前
0 阅读
07 12
C语言库toupper()函数

C语言库toupper()函数

#include stdio.h#include ctype.hint main () {int i = 0;char c;char str[] = Tutorials Point;
发布于104天前
0 阅读
07 12
C语言字符串函数

C语言字符串函数

#include stdio.h#include string.hint main () {char str1[12] = Hello;char str2[12] = World;
发布于104天前
0 阅读
07 12
C语言字符串列表

C语言字符串列表

#include stdio.hconst int MAX = 4;int main () {char *names[] = {Zara Ali,Hina Ali,
发布于104天前
0 阅读
07 12
C语言指针的指针

C语言指针的指针

#include stdio.hint main () {intvar;int*ptr;int**pptr;var = 3000;/* take the address of var */
发布于104天前
0 阅读
07 12
C语言接受一个指针

C语言接受一个指针

#include stdio.h/* function declaration */double getAverage(int *arr, int size);int main () {
发布于104天前
0 阅读
07 12
C语言从函数返回指针

C语言从函数返回指针

#include stdio.h#include time.h/* function to generate and return random numbers. */int * getRandom( ) {
发布于104天前
0 阅读
07 12
C语言位域声明

C语言位域声明

#include stdio.h#include string.hstruct {unsigned int age : 3;} Age;int main( ) {Age.age = 4;
发布于104天前
0 阅读
07 12
C语言typedef与#define

C语言typedef与#define

// -------------------------------------#include stdio.h#define TRUE1#define FALSE 0int main( ) {
发布于104天前
0 阅读
首页上一页 18 19 20 21 22 23 24 25 26 27 28 下一页末页 共 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 素材狗 版权所有并保留所有权