国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

 代寫COMP 218、代做C++設計編程
 代寫COMP 218、代做C++設計編程

時間:2024-09-30  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



© May not be copied or duplicated 
without the permission of the owner. 
COMP 218 Fundamentals of Object-Oriented 
Programming 
Assignment 1 
 
Please note: you are NOT allowed to post the assignment/solution anywhere on the 
Internet. Intellectual Property rights are reserved. If any similar cases are found via your 
account or IP, your submission will NOT be considered and will be reported 
immediately. 
 
General Guidelines when Writing Programs: 
- Include the following comments at the top of your source codes 
// ----------------------------------------------------- 
// Assignment (include number) 
 // Question: (include number) 
 // File name: (include source code file name) 
 // Written by: (include your name and student id) 
 // ----------------------------------------------------- 
- In a comment, give a general explanation of what your program does. As the 
programing questions get more complex, the explanations will get lengthier. 
- Include comments in your program describing the main steps in your program. 
- Print a welcome message which includes your name. 
- Display clear prompts for users when you are expecting the user to enter data 
from the keyboard. 
- All output should be printed out with clear messages and in an easy to read 
format. 
- End your program with a closing message so that the user knows that the 
program has terminated. 
 
© May not be copied or duplicated 
without the permission of the owner. 
Question #1: Display a message (3 pts) 
Write a complete C++ program that displays the following output exactly as in the 
sample output. You are to use a single cout statement to output the message. There is 
no need to declare any variables for this question. 
 
Figure 1 – Sample output for Question 1 
  
© May not be copied or duplicated 
without the permission of the owner. 
Question #2: Number Generator Program (6 pts) 
In C++, we can use rand() function (More details) to generate random numbers. In the 
number calculation following the requirements: 
1. Display a welcome message. 
2. Display the randomly generated even/odd number. 
 
Figure 2 – Sample output #1 for Question 2
For example, if the number is 1234, change it to 4**1.
For example, 1221 is a palindrome as it is the same if reversed.
For example, the largest digit is 9 and smallest is 1, in 3179.
Your program must display the same information and formatted the same.
3. Reverse the number.
4. Check if the number is a palindrome.
5. Find the smallest and largest digit in the number
question, we will generate a 4-digit random number between 1000 – 9999 and complete
Use at least one constant variable to store value in the program.
Following are 2 sample screen shots to illustrate the expected behavior of your
program.
Note: 

 
© May not be copied or duplicated 
without the permission of the owner. 
 
Figure 3 – Sample output #2 for Question 2 
 
Question #3: New Word Program (6 pts) 
 
 
Your program should behave as follow: 
1. Display a welcome message. 
2. Ask the user to prompt 3 words with at least 1 letter. 
3. Ask the user to prompt 3 numbers, that should be less than the length of each 
word to indicate length of substring in each word. For example, if the word is 
Ann, then the entered number should be less than 3 (the length of Ann). 
 
5. Display the resulting new word. 
6. Display a farewell message, so that the user knows that the program has 
terminated normally. 
Restriction: This questions requires the use of the functions: length(), substr(). 
Assumption: Assume a perfect user who will always enter the correct input values. 
 
Following are two sample screen shots to illustrate the expected behavior of your 
program. Your program is to work with any words entered by the user. 
 
last n characters. Concatenate the three resulting substrings into a single
new word.
4. For each word, create a new substring by taking the first n characters and the
Write a program that prompts the user for three words. 

 
© May not be copied or duplicated 
without the permission of the owner. 
 
 
Figure 4 – Sample output #1 for Question 3 
 
Figure 5 – Sample output #2 for Question 3 
 
  

 
© May not be copied or duplicated 
without the permission of the owner. 
Submitting Assignment 1 
- Naming convention for zip file to submit: Create one zip file, containing all source 
files (.cpp files only) for your assignment. The zip file should be called 
a#_studentID, where # is the number of the assignment and studentID is your 
student ID number. For example, for the first assignment, student 123456 would 
submit a zip file named a1_123456.zip. (See instructions on how to zip files 
which are posted in the Assessment section of the eConcordia course webpage.) 
- Submit only ONE version of an assignment. 
- Late assignments will be discounted by 25%. Late assignments are accepted up 
to five days late (grace period) and weekends count. 
 
Evaluation Criteria for Assignment 1 (20 pts) 
 Question #1 
3 pts. 
Question #2 
6 pts. 
Question #3 
6 pts. 
Format/clarity/completeness/accuracy 
of output 
1 pt. 4 pts. 2 pts. 
Proper use of required C++ concepts 2 pts. 2 pts. 4 pts. 
 
 
For all 3 questions of assignment 1 – 5 pts. 
Comments – description of variables / description of the steps in code 
/ purpose of program 
2 pts. 
Choice of variable names 1 pt. 
Indentation and readability of program 2 pts. 



 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機打開當前頁
  • 上一篇:ACST2001代寫、代做Python/c++設計編程
  • 下一篇:代寫 cs341 Shell To-Dos 安全程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产美女直播视频一区| 91久久国产精品| 波多野结衣成人在线| 国产精品视频永久免费播放| 日本一区二区在线视频| 不卡一卡2卡3卡4卡精品在| 久久综合国产精品台湾中文娱乐网| 欧美中在线观看| 日韩av电影中文字幕| 欧美亚洲日本黄色| 国产精品久久久影院| 精品嫩模一区二区三区| 国产精品女视频| 成人国产精品久久久| 日韩中文字幕在线视频观看| 俺也去精品视频在线观看| 精品视频第一区| 九色91av视频| 国产精品视频xxx| 国产精品午夜av在线| 日本一区高清不卡| 欧美日韩一区在线视频| 99爱精品视频| 日本wwww视频| 国产乱淫av片杨贵妃| 欧美人与物videos| 国产精品自拍合集| 亚洲淫片在线视频| 久久人人爽人人爽人人片av高请| 亚洲国产精品久久久久久女王| 久久久999视频| 久久久久久久久久久福利| 日韩精品不卡| 日本精品久久中文字幕佐佐木| 亚洲最大成人网色| 九一国产精品视频| 日本精品一区二区三区不卡无字幕| 久久国产精品视频| 国产成人在线免费看| 国产欧美精品在线播放| 日本www在线视频| 久久精品电影一区二区| 精品999在线观看| 久久国产精品久久久久久| 99视频在线免费播放| 性欧美激情精品| 国产成人精品综合| 国产欧美最新羞羞视频在线观看| 亚洲一区二区三区四区在线播放| 久久综合色视频| 欧日韩在线观看| 久久av资源网站| 久久人人爽人人| 免费黄色福利视频| 色综合色综合网色综合| 国产二级片在线观看| 海角国产乱辈乱精品视频| 亚洲一区二区三区视频播放| 国产成人免费av电影| 国产精品香蕉av| 日韩男女性生活视频| 久久综合88中文色鬼| 久久综合入口| 国产在线一区二区三区四区| 亚洲v日韩v欧美v综合| 国产精品久久久| 国产福利片一区二区| 国产色综合天天综合网| 日本免费高清不卡| 欧美成人精品一区二区三区| 国产成人精品视| 国产欧美日韩综合精品二区| 日韩欧美亚洲天堂| 亚洲天堂电影网| 北条麻妃在线一区二区| 97干在线视频| 国产一区二区片| 国产精品欧美日韩| 欧美精品在线观看| 日韩欧美亚洲日产国产| 国产一区二区黄色| 国产精品沙发午睡系列| 在线不卡日本| 国产中文字幕乱人伦在线观看| 成人精品一区二区三区电影免费| 精品国产一区二区三区在线观看 | 免费亚洲一区二区| 国产精品亚洲片夜色在线| www.国产一区| 国产精品国产三级国产专区51| 亚洲淫片在线视频| 国产男女免费视频| 国产成人精品久久亚洲高清不卡| 欧美精品在线观看91| 亚洲欧美丝袜| 夜夜添无码一区二区三区| 国产主播在线看| 日韩国产欧美一区| 亚洲v国产v在线观看| 国产精品成人免费电影| 7777精品视频| 在线观看一区二区三区三州| 国内免费久久久久久久久久久| 中文精品视频一区二区在线观看| 日韩视频一二三| 亚洲精品影院| 一区二区三区不卡在线| 操日韩av在线电影| 国产成人精品自拍| 日韩在线不卡视频| 久久久在线免费观看| 国产精品午夜国产小视频| 国产制服91一区二区三区制服| 欧美凹凸一区二区三区视频| 热99在线视频| 日本www在线播放| 日本一区二区三区视频在线播放 | 欧美,日韩,国产在线| 人妻无码视频一区二区三区| 三年中国中文在线观看免费播放| 在线观看国产一区| 一区二区三区四区五区视频| 欧美激情综合色综合啪啪五月| 精品视频9999| 欧美大片欧美激情性色a∨久久| 麻豆国产va免费精品高清在线| 国产精品久久久91| 久久亚洲影音av资源网| 欧美激情第一页在线观看| 超在线视频97| 久久精品视频16| 国产性生交xxxxx免费| 热草久综合在线| 日本在线一区| 亚洲乱码一区二区三区| 国产精品久久亚洲7777| 91精品国产色综合久久不卡98| 精品网站在线看| 日韩视频在线观看国产| 亚洲国产精品毛片| 亚洲天堂第一区| 亚洲一区二区久久久久久| 蜜臀久久99精品久久久久久宅男| 欧美日韩亚洲一区二区三区在线观看 | 国产精品欧美在线| 国产中文欧美精品| 欧美亚洲伦理www| 久久久久免费看黄a片app| 日韩中文字幕网| 日本中文字幕在线视频观看| 日本午夜一区二区三区| 欧美有码在线视频| 国产日韩欧美在线看| 日本手机在线视频| 久久亚洲私人国产精品va| 国产成人短视频| 国产成人精品免高潮在线观看| 欧美美最猛性xxxxxx| 成人黄色一区二区| 久久婷婷人人澡人人喊人人爽| 久久久国产精品x99av| 国产99在线播放| 亚洲一区二区在线播放| 人人妻人人澡人人爽欧美一区双| 黄色一级片网址| 91免费国产精品| 国产精品入口尤物| 亚洲精品久久久久久一区二区| 欧美中日韩免费视频| 国产免费一区二区三区四在线播放| 久久久爽爽爽美女图片| 国产精品视频在线免费观看| 伊人天天久久大香线蕉av色| 热草久综合在线| 成人乱人伦精品视频在线观看| 久久精品国产精品青草色艺| 精品中文字幕在线观看| 性色av一区二区三区| 国产综合久久久久久| 国产福利一区视频| 欧美日韩国产成人| 欧美午夜欧美| 91精品视频大全| 欧美成年人视频网站| 日韩和欧美的一区二区| www..com日韩| 国产精品久久久久久久免费大片 | 亚洲自拍欧美另类| 男女视频一区二区三区| 欧美极品在线视频| 日本一区不卡| 欧美在线视频免费| 国产精品一区二区三| 俺也去精品视频在线观看| 亚洲欧美综合一区| 国产免费一区视频观看免费 | 91精品国产91| 精品国产免费av| 欧日韩免费视频| 国产激情一区二区三区在线观看|