日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

 代寫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 安全程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
  • 短信驗證碼 豆包 幣安下載 目錄網

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        欧美高清日韩| 中日韩午夜理伦电影免费| 亚洲欧美日韩精品久久久| 91久久在线视频| 久久精品视频播放| 欧美日韩成人精品| 国产色综合天天综合网| 久久久久久电影| 久久福利资源站| 美女精品视频一区| 欧美精品三级在线观看| 欧美日韩国产三区| 午夜精品免费| 国产精品毛片a∨一区二区三区|国| 亚洲精品久久久久久久久久久久| 合欧美一区二区三区| 国产精品入口尤物| 麻豆av一区二区三区久久| 国内精品久久久久影院 日本资源| 欧美日韩成人在线视频| 欧美aaaaaaaa牛牛影院| 亚洲精品国产日韩| 亚洲国产婷婷香蕉久久久久久| 亚洲国产日韩一级| 亚洲三级视频在线观看| 欧美电影资源| 99国产精品国产精品毛片| 国产精品欧美日韩一区二区| 久久久99精品免费观看不卡| 91久久精品国产| 国产欧美一区二区视频| 欧美亚洲一区二区在线观看| 亚洲国产成人久久综合一区| 欧美日韩在线播放三区| 中文一区字幕| 亚洲午夜视频在线| 99国产一区二区三精品乱码| 国产欧美精品在线| 亚洲精品欧美一区二区三区| 国产视频欧美视频| 国产精品v日韩精品| 国产精品一区二区三区乱码| 性色一区二区三区| 亚洲一区二区三区精品在线| 欧美视频在线观看 亚洲欧| 亚洲日韩欧美一区二区在线| 日韩午夜电影在线观看| 精品1区2区3区4区| 亚洲欧美电影院| 久久久久久尹人网香蕉| 国产精品自拍一区| 在线视频欧美一区| 国产精品久久久久一区二区三区| 亚洲欧美激情诱惑| 国模精品娜娜一二三区| 欧美一区二区三区精品电影| 99视频在线观看一区三区| 亚洲欧美国内爽妇网| 91久久线看在观草草青青| 欧美一区二区日韩一区二区| 欧美黄免费看| 午夜亚洲精品| 久久久久久网| 韩国av一区| 久久激情五月丁香伊人| 久久成人资源| 久久精品国产一区二区三区免费看| 99re这里只有精品6| 久久久久久婷| 亚洲经典视频在线观看| 亚洲精品日本| 亚洲欧美在线视频观看| 国产精品久久久久久久久久免费| 国产欧美一区二区三区久久人妖| 久久日韩粉嫩一区二区三区| 久久免费精品视频| 欧美午夜无遮挡| 久久久不卡网国产精品一区| 欧美日韩一区二区三区四区在线观看| 国产精品99久久久久久www| 亚洲手机成人高清视频| 欧美日韩久久精品| 欧美一级片在线播放| 在线精品视频一区二区| 国产欧美精品日韩区二区麻豆天美| 亚洲成色最大综合在线| 91久久精品www人人做人人爽| ●精品国产综合乱码久久久久| 制服丝袜亚洲播放| 亚洲二区免费| 欧美日韩亚洲一区| 亚洲欧洲日本一区二区三区| 欧美视频一区在线观看| 欧美午夜精品理论片a级按摩| 欧美色综合天天久久综合精品| 久久免费精品视频| 欧美 日韩 国产 一区| 亚洲欧美激情视频在线观看一区二区三区| 欧美精品在欧美一区二区少妇| 含羞草久久爱69一区| 狠狠干综合网| 麻豆成人综合网| 香蕉成人啪国产精品视频综合网| 欧美mv日韩mv国产网站app| 又紧又大又爽精品一区二区| 亚洲视频久久| 欧美精品国产一区二区| 在线观看欧美成人| 欧美日韩黄色一区二区| 国内成人精品视频| 久久视频精品在线| 亚洲淫性视频| 欧美午夜免费电影| 性感少妇一区| 欧美一区二区三区在线播放| 精品不卡视频| 欧美日本国产在线| 美女主播精品视频一二三四| 国产精品免费视频xxxx| 国产精品一区二区视频| 在线精品亚洲| 久久国产直播| 在线观看欧美精品| 亚洲制服丝袜在线| 欧美丝袜一区二区三区| 尤物yw午夜国产精品视频| 欧美日韩国产色站一区二区三区| 老巨人导航500精品| 欧美日韩一区二| 亚洲女爱视频在线| 国产精品视频最多的网站| 欧美人与性动交cc0o| 欧美日韩精品免费观看| 欧美激情成人在线视频| 欧美日韩国产不卡在线看| 性欧美在线看片a免费观看| 美女在线一区二区| 亚洲国产精品欧美一二99| 欧美中文字幕第一页| 亚洲午夜一区| 欧美午夜精品久久久久久人妖| 欧美伊人久久大香线蕉综合69| 麻豆成人精品| 欧美三级视频在线观看| 欧美三级视频在线观看| 欧美激情2020午夜免费观看| 国产手机视频精品| 在线一区二区三区四区| 欧美大片在线观看一区二区| 久久一区二区视频| 欧美—级高清免费播放| 欧美国产亚洲精品久久久8v| 亚洲欧美日韩国产| 亚洲激情在线激情| 日韩亚洲欧美成人一区| 亚洲在线视频| 亚洲精品视频在线观看免费| 国产日韩欧美中文| 欧美三日本三级少妇三99| 欧美jizz19性欧美| 亚洲精品一品区二品区三品区| 欧美日韩国产色视频| 午夜电影亚洲| 久久综合狠狠综合久久激情|