第十二周專案4 銀行系統(完整版哈哈哈哈哈哈哈)

2021-06-27 02:00:58 字數 839 閱讀 8400

/*

*檔名稱:test.cpp

*完成日期:2023年 11月 17日

*版本號:v1.0

* *問題描述:銀行系統~~!!!

*程式輸入:

*程式輸出:

*/#include using namespace std;

bool pass();

void work();

static long double money=9999.99;

static int password=123456;

int pass;

int main()

while((pass!=password)&&j<3);

return orpass;

}void work()

word(i);

}}int word(int i)

cout<>putmoney;

cout<

if(putmoney>money)

cout<

else

}void deposit()

void transferaccounts()

while((pass!=password)&&k<=2);

}else

return pw;

}

執行結果:

學習心得:

一邊錯著一邊改。。。。。。為自己抹一把辛酸淚啊

大概明白了這些自定義函式的應用

為自己點讚!

第十二周專案四 銀行系統

問題及 檔名稱 main.cpp 完成日期 2014年 11月 17日 版本號 v1.0 問題描述 銀行系統 程式輸入 銀行密碼,業務選擇 程式輸出 各項業務內容 include using namespace std const int password 123456 int main int f...

第十二周專案(4)

煙台大學計算機學院 檔名稱 xiangmu.cpp 完成日期 2017年11月19日 問題描述 floyd演算法驗證 輸入描述 無 輸出描述 每對頂點最短路徑 用到了graph.h include include include graph.h define maxsize 100 void ppa...

第十二周 專案(4)

問題及描述 煙台大學計算機學院 檔名稱 xiangmu.cpp 完成日期 2017年11月19日 問題描述 floyd演算法驗證 輸入描述 無 輸出描述 每對頂點最短路徑 用到了graph.h include include include graph.h define maxsize 100 vo...