C++基础教程5-顺序结构
文章目录一.理解顺序结构1.流程图2.根据流程图写的代码3.运行结果二.聊天机器人1.源码2.运行效果篇章一.理解顺序结构顺序结构:相当于流程图,写在前面的代码先执行。1.流程图2.根据流程图写的代码#include<iostream>using namespace std;int main(){ int num; cout << "请输入一个数" << endl; cin >> num; cout <<
复制链接