c语言编程练习题:7-50 输出华氏-摄氏温度转换表

c语言编程练习题:7-50 输出华氏-摄氏温度转换表

#include <stdio.h>int main() {    int lower, upper;    if (scanf("%d %d", &lower, &upper) != 2 || lower > upper |...

c语言编程练习题:7-49 Have Fun with Numbers

c语言编程练习题:7-49 Have Fun with Numbers

#include <stdio.h>#include <stdlib.h>#include <string.h>int is_same_digits(int *arr1, int *arr2) {    int arr_d_1[10]={0};...

你的第一门C语言课

44 课时 |
15429 人已学 |
免费

C语言学习教程

128 课时 |
19187 人已学 |
免费
开发者课程背景图
c语言编程练习题:7-48 求组合数

c语言编程练习题:7-48 求组合数

#include <stdio.h>double fact(int n){    double r=1.0;    int i;    for (i=1;i<=n;i++){       &n...

c语言编程练习题:7-47 二进制的前导的零

c语言编程练习题:7-47 二进制的前导的零

#include &lt;stdio.h&gt;int main(){ int n; int i = 0; &nbsp; &nbsp;int k = 1; &nbsp; &nbsp;int r=0; &nbsp; &nbsp;if (scanf("%d",&amp;n)!=EOF){ &nbsp; ...

c语言编程练习题:7-46 爬动的蠕虫

c语言编程练习题:7-46 爬动的蠕虫

#include <stdio.h>int main(){    int N,U,D;    int len=0;    int direction=1;    int count=0;   &nb...

c语言编程练习题:7-45 找完数

c语言编程练习题:7-45 找完数

#include <stdio.h>int is_perfect_num(int num){    int sum=0;    int i;    for (i=1;i<num;i++){     &n...

c语言编程练习题:7-44 黑洞数

c语言编程练习题:7-44 黑洞数

#include &lt;stdio.h&gt;int main(){ &nbsp; &nbsp;int num=0,a,b,c,max_num,min_num,i,j,res; &nbsp; &nbsp;int num_array[6]; &nbsp; &nbsp;res = scanf("%d"...

c语言编程练习题:7-43 Shuffling Machine

Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "ins...

c语言编程练习题:7-42 整除光棍

c语言编程练习题:7-42 整除光棍

作者:yunjinqi   类别:    日期:2023-05-29 15:07:45    阅读:28 次   消耗积分:0 分     编辑文章#include <stdio.h>int main(){ ...

c语言编程练习题:7-40 到底是不是太胖了

c语言编程练习题:7-40 到底是不是太胖了

#include &lt;stdio.h&gt;#include &lt;math.h&gt;int main() { &nbsp; &nbsp;int n; &nbsp; &nbsp;int res; &nbsp; &nbsp;res = scanf("%d", &amp;n); &nbsp; &...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。