代码搜索结果
找到约 10,000 项符合
3 的代码
xt3-3.cpp
#include
using namespace std;
int main ()
{float c,f;
coutf;
c=(5.0/9.0)*(f-32); //注意5和9要用实型表示,否则5/9值为0
cout
c3-3.cpp
#include
using namespace std;
int main()
{char c;
c=getchar();
putchar(c+32);
putchar('\n');
return 0;
}
test3_3.txt
#include
int main(void)
{
int input =0;
printf(“Enter an integer:”);
scanf(“%d”,input);
printf(“Twice the number you supplied is %d.\n”,2*input);
return 0;
}
test3_3.txt
#include
int main(void)
{
int input =0;
printf(“Enter an integer:”);
scanf(“%d”,input);
printf(“Twice the number you supplied is %d.\n”,2*input);
return 0;
}
ex3_3.dsp
# Microsoft Developer Studio Project File - Name="Ex3_3" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Con
ex3_3.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
ex3_3.cpp
//【例3.3】设计函数,根据三角形的三边长求面积。如果不能构成三角形,给出提示信息。
#include
#include
using namespace std;
float TriangleArea(float a, float b, float c){
if ((a+b
chap3_3.m
%Fuzzy Controller
clear all;
close all;
a=newfis('fuzzf');
f1=1;
a=addvar(a,'input','e',[-3*f1,3*f1]); %Parameter e
a=addmf(a,'input',1,'NB','zmf',[-3*f1,-1*f1]);
a=addmf(a,'inpu
chap3_3.m
%Fuzzy Controller
clear all;
close all;
a=newfis('fuzzf');
f1=1;
a=addvar(a,'input','e',[-3*f1,3*f1]); %Parameter e
a=addmf(a,'input',1,'NB','zmf',[-3*f1,-1*f1]);
a=addmf(a,'inpu
chap3_3.m
%Fuzzy Controller
clear all;
close all;
a=newfis('fuzzf');
f1=1;
a=addvar(a,'input','e',[-3*f1,3*f1]); %Parameter e
a=addmf(a,'input',1,'NB','zmf',[-3*f1,-1*f1]);
a=addmf(a,'inpu