摘要:
#include<iostream>using namespace std;int main(){ int max(int a,int b,int c=0); int a,b,c,m1,m2; cout<<"请输入两到三个正整数字"<<endl; cin>>a>>b>>c; m1=max(a,b,c 阅读全文
posted @ 2020-04-21 15:16
zhongxiaozheng
阅读(1507)
评论(0)
推荐(0)
摘要:
#include<iostream.h>void main(){ char a; int i=32; cout<<"输入一个大写字母:"<<endl; cin>>a; if(a>='A'&&a<='Z') a=a+i; cout<<"转换成小写字母是:"<<a<<endl;} 阅读全文
posted @ 2020-04-21 14:51
zhongxiaozheng
阅读(8571)
评论(0)
推荐(0)
摘要:
''' 学生成绩系统 ''' class Student: def __init__(self,No,Name,Gender,Age): self.No=No self.Name=Name self.Gender=Gender self.Age=Age def show(self): print(" 阅读全文
posted @ 2020-04-21 09:56
zhongxiaozheng
阅读(2813)
评论(0)
推荐(0)

浙公网安备 33010602011771号