题解列表
c语言,运用中间变量置换
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() {double n,……
Java API 一句话搞定
摘要:参考代码:import java.util.Scanner;
public class Main{
public static void main(String[] args) {
……
1130: C语言训练-数字母
摘要:解题思路: strlen函数判断字符长度,头文件string.h isalpha函数判断是否为字母(包含大小写)(是返回非0),头文件ctype.h注意事项: count必须赋值0,……
与指定数字相同的数的个数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,m,t=0,a[100]; scanf("%d",&n); for(i=……
2778: 判断数正负(if语句的运用)
摘要:##2778: 判断数正负
主要就是if语句的运用,比较简单,见代码:
```c
#include
int main()
{
int n;//int的取值范围2147483648到214……