日韩精品一区二区三区高清_久久国产热这里只有精品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>
        黑人巨大精品欧美一区二区| 国产精品免费一区豆花| 亚洲国产视频一区二区| 亚洲激情专区| 国产精品网站一区| 国产日韩欧美二区| 亚洲精品久久久久久久久久久| 欧美视频中文字幕在线| 国产精品区一区二区三| 国产精品成人国产乱一区| 亚洲午夜精品久久久久久浪潮| 先锋影音一区二区三区| 国产乱人伦精品一区二区| 国产精品播放| 久久久水蜜桃av免费网站| 久久午夜色播影院免费高清| 韩国三级在线一区| 狠狠久久亚洲欧美| 国产精品爱久久久久久久| 欧美日韩不卡合集视频| 尤物99国产成人精品视频| 亚洲免费黄色| 欧美图区在线视频| 欧美主播一区二区三区美女 久久精品人| 激情懂色av一区av二区av| 欧美深夜福利| 男人的天堂亚洲| 欧美日产一区二区三区在线观看| 国产热re99久久6国产精品| 欧美日韩午夜视频在线观看| 国产一区二区中文字幕免费看| 欧美成人在线影院| 鲁鲁狠狠狠7777一区二区| 国产精品美女一区二区在线观看| 欧美ab在线视频| 午夜久久久久| 亚洲欧美日韩国产一区二区三区| 欧美一区亚洲二区| 久久久久久久久蜜桃| 久久综合九色综合欧美就去吻| 先锋影院在线亚洲| 亚洲视频播放| 狠狠狠色丁香婷婷综合久久五月| 亚洲午夜激情免费视频| 亚洲国产欧美一区| 久久久999国产| 免费在线成人| 在线看欧美日韩| 欧美伊人久久大香线蕉综合69| 亚洲午夜精品在线| 99视频一区二区| 91久久精品视频| 亚洲香蕉网站| 久久精品99久久香蕉国产色戒| 91久久精品国产91性色tv| 久久综合中文色婷婷| 国产精品制服诱惑| 国产综合视频在线观看| 亚洲伦理自拍| 美女网站久久| 国产色产综合产在线视频| 国产精品久久久久久久久久免费| 亚洲毛片av| 久久丁香综合五月国产三级网站| 国产欧美精品国产国产专区| 在线精品福利| 亚洲在线黄色| 影音先锋国产精品| 亚洲日韩欧美视频一区| 这里只有精品电影| 国产精品揄拍一区二区| 欧美精品日韩一区| 亚洲欧洲综合另类| 国产精品欧美精品| 99综合电影在线视频| 欧美日韩久久| 久久久成人精品| 久久综合久久综合久久| 激情久久久久久久久久久久久久久久| 在线免费观看日韩欧美| 久久日韩粉嫩一区二区三区| 国产精品国产a级| 日韩亚洲欧美高清| 99国产精品久久| 欧美丰满高潮xxxx喷水动漫| 欧美激情无毛| 在线精品视频在线观看高清| 午夜精品亚洲一区二区三区嫩草| 久久亚洲欧美| 一区二区高清视频在线观看| 精品成人在线视频| 在线不卡中文字幕播放| 亚洲视频网在线直播| 在线播放视频一区| 美女尤物久久精品| 美女999久久久精品视频| 久久美女性网| 国产午夜精品理论片a级大结局| 久久久av网站| 久久久久久久久久久成人| 亚洲香蕉视频| 欧美成人福利视频| 亚洲一二三区在线观看| 亚洲国产一区二区三区在线播| 午夜精品视频在线观看| 免费一级欧美片在线播放| 在线激情影院一区| 噜噜噜久久亚洲精品国产品小说| 国产一区二区久久久| 久久精品人人做人人爽| 久久久久国产一区二区三区四区| 亚洲新中文字幕| 久久综合99re88久久爱| 国产日韩欧美制服另类| 99热免费精品在线观看| 久久婷婷亚洲| 中文在线不卡视频| 国产日韩欧美高清| 一区二区三区日韩| 久久精品国产免费看久久精品| 国产三级精品在线不卡| 亚洲视频 欧洲视频| 亚洲日本欧美在线| 精品96久久久久久中文字幕无| 欧美天堂亚洲电影院在线播放| 亚洲精品免费电影| 欧美成人精品| 国产美女精品免费电影| 欧美日韩久久精品| 欧美日韩无遮挡| 久久久久久久综合狠狠综合| 国产亚洲精品久久飘花| 亚洲高清不卡在线| 欧美在线短视频| 久久精品99无色码中文字幕| 国产精品wwwwww| 狠狠色狠狠色综合日日小说| 老司机精品久久| 国产精品av一区二区| 亚洲免费在线视频一区 二区| 欧美刺激午夜性久久久久久久| 99在线|亚洲一区二区| 99国产精品久久久久老师| 欧美日韩国产a| 日韩午夜精品| 在线一区二区三区四区五区| 欧美网站大全在线观看| 国产精品影视天天线| 亚洲毛片av在线| 国产精品一区二区男女羞羞无遮挡| 久久成人这里只有精品| 男男成人高潮片免费网站| 麻豆成人在线观看| 蜜桃av噜噜一区| 午夜在线观看免费一区| 影音先锋亚洲电影| 国产精品日韩欧美一区二区三区| 国产精品高精视频免费| 悠悠资源网亚洲青| 亚洲高清视频一区二区| 亚洲日本电影| 亚洲丁香婷深爱综合| 久久综合中文字幕| 国产精品成人va在线观看|