Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99389 罗睿妍 03大写字母转小写字母 C++ Compile Error 0 MS 0 KB 218 2024-11-27 19:27:33

Tests(0/0):


Code:

#include <iostream> using namespace std; int main() { char c1 cout<<"输入一个大写字母:"<<endl; cin>>c1; c1=c1+32; cout<<"对应的小写字母是:" <<c1<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:5: error: expected initializer before 'cout'
     cout<<"输入一个大写字母:"<>c1;
          ^