首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴王宇577的代码贴C语言
#include<stdio.h>
int main()
{
int i,j,result;
for(i=1;i<10;i++)
{
for(j=1;j<10;j++)
{
result=i*j;
printf("%d*%d=%-3d",,j,result);
}
printf("\n");
......................
阅读全部 | 2022年7月10日 03:30
11111
阅读全部 | 2022年7月10日 03:29
Option Explicit
Dim JScript, CString, File, Control, System, NetWork  '定义线程级变量       '每个线程不同
Dim Window, VBSlibrary
Dim HttpProgress
Const IsDebug = 0
Const Version = "0.0.0.7"
Sub Main()
    If Globals("App").PrevInstance Then
        Dim ws, WMI, Process
        Set ws = CreateObject("wscript.shell")
        ws.SendKeys "{HOME}"
        Set WMI = GetObject("WinMgmts:")
......................
阅读全部 | 2022年7月8日 10:08
#include <stdio.h>
#include <math.h>
int main() {
float a=1;
float b=1;
float n=1;
do {十多分 
    b=b+2*a;
    a=b-a;
    n=n-1
}
while (abs(b*b/a*a-2)>=0.01){
......................
阅读全部 | 2022年6月23日 15:31
#include<iostream>
#include<string>
using namespace std;
class Person
{
    public:
        void Setall()
        {
             cin>>number>>name>>sex;
        }
        void Showall()
        {
......................
阅读全部 | 2022年5月31日 18:48
#include <stdio.h>
void main()
{
int a,b,c;
for(a=0;a<=20;a++)
for(b=0;b<=33;b++)
for(c=0;c<=100;c++)
{if((a*5+b*3+c/3==100)&&(a+b+c==100))
printf("a=%2d,b=%2d,c=%2d\n",a,b,c);}
}

123456
阅读全部 | 2022年5月31日 18:47
#include <stdio.h>
void main()
{
int a,b,c;
for(a=0;a<=20;a++)
for(b=0;b<=33;b++)
for(c=0;c<=100;c++)
{if((a*5+b*3+c/3==100)&&(a+b+c==100))
printf("a=%2d,b=%2d,c=%2d\n",a,b,c);}
}
1
阅读全部 | 2022年5月31日 18:46
#include <stdio.h>

int main()
{
    int price=0;
    
    printf("请输入金额(元)");
    scanf("%d",&price);
    
    int change=100-price;
    
    printf("找您%d元\n",change);
......................
阅读全部 | 2022年5月24日 16:31
#输入
p=float(input(“单价”))
n=int(input(“数量”))
s=p*n 
print(“...”,s)

QQ
阅读全部 | 2022年5月19日 18:57
1
王宇577