C代写:CS158 Find The Digits代做留学生R语言、R实验代写

Introduction代写一个C语言的小作业,寻找一个数学问题的解RequirementGiven a positive integer (greater than zero) and a positive digit (1 - 9) find the smallest multiple of the positive integer that is composed only of digits less than or equal to the digit specified by the user.Example Execution #1:Enter a positive integer: 7Enter largest permissible digit: 3Smallest multiple of 7 containing digits less than or equal to 3 is: 21Example Execution #2:Enter a positive integer: 88Enter largest permissible digit: 5Smallest multiple of 88 containing digits less than or equal to 5 is: 352Example Execution #3:Enter a positive integer: 15Enter largest permissible digit: 2Smallest multiple of 15 containing digits less than or equal to 2 is: 120Example Execution #4:Enter a positive integer: 12Enter largest permissible digit: 1Smallest multiple of 12 containing digits less than or equal to 1 is: 11100Example Execution #5:Enter a positive integer: 34Enter largest permissible digit: 4Smallest multiple of 34 containing digits less than or equal to 4 is: 34Example Execution #6:Enter a positive integer: 789Enter largest permissible digit: 2Smallest multiple of 789 containing digits less than or equal to 2 is: 11202222Additional RequirementsAdd the homework assignment header file to the top of your program. A description of your program will need to be included in the assignment header. This particular header can be added to your file by entering hhw while in command mode in vi.Each example execution represents a single test of your program. The six examples provided imply that the program was run six different times.Your program is expected to accept input and produce output in the same manner demonstrated above.The user will always enter a positive integer followed by a single digit in the range from 1 to 9.Each test case will result in finding a multiple that is less than or equal to INT_MAX as found in the limits.h library.Do not add any “bonus” features not demonstrated in the example executions provided.Course standards prohibit the use of programming concepts not yet introduced in lecture. For this assignment you can consider all material in the first six chapters of the book, notes, and lectures to be acceptable for use.The use of arrays will result in no credit being awarded for your effort.For this assignment you will be required to implement the user-defined functions (from chapter 4). Failing to follow course standards as they relate to good user-defined function use will result in a zero for this assignment.A program MUST compile to be considered for partial credit. The submission script. will reject the submission of any file that does not successfully compile on the guru server. The name of the source code file you attempt to submit must be hw05.c, no variation is permitted.Course Programming and Documentation Standards RemindersUse the course function header (head_fx vi shortcut hfx while in command mode) for every user-defined function in your program.List and comment all parameters to a function, one per line, in the course function header.All function declarations will appear in the global declaration section of your program.The user-defined function definitions will appear in your program after the main function.Indent all code within relevant selection and repetition constructs two additional spaces.Make use of { and } with all relevant selection and repetition constructs.Place a single space between all operators and operands. Comment all variables to the right of each declaration. Declare only one variable per line.Notice that several programs (see program 2-9 on pages 74-75) in the programming text use a single line comment to indicate the start of the local declaration and executable statement sections of the main function.At no point during the semester should these two sections ever overlap. You might consider adopting this habit of commenting the start of each section to help you avoid this mistake.Select meaningful identifiers (names) for all variables and functions in your program.Indent all code found within the main and all user-defined functions exactly two spaces.Control-forcing statements such as exit, break, continue, and the use of multiple return statements in a single function are not acceptable practices according to course standards.Do not single (or double) space the entire program, use blank lines when appropriate.Consider making symbolic/defined constants to represent those values that do not change during the execution of the program.There is no need to include example output with your submission.Remove any diagnostic print statements from your code, even if they are commented out (inactive), unless you believe your program to be logically incorrect or incomplete as a way to demonstrate to your lab instructor how much of the problem you were able to solve and attempted to implement.本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(C代写:CS158 Find The Digits代做留学生R语言、R实验代写)