Find Jobs
Hire Freelancers

c++ homework

$2-8 USD / hour

已完成
已发布超过 9 年前

$2-8 USD / hour

Any positive integer number can be expressed as the product of its prime factors. For example, integer number 120=2*2*2*3*5. Write a MAIN function and two FUNCTIONS (name those FUNCTIONS any way you wish) to find the sum of the prime factors of the elements of a two-dimensinal 5X4 integer array A, and store them into a two-dimensinal 5X4 integer array B, and finally, print A and B. Within the MAIN function:· Declare two 5X4 integer arrays A and B. · Initialize array A elements with (x+3) (x starting from 1 and incrementing by 2 for each element of array A). · Pass the array A and its dimensions (number of rows and columns) to the FUNCTON2 as arguments. Be sure that the number of rows and columns should be passed as POINTER arguments. · Pass A, B, number of rows and number of columns to the FUNCTION1 as arguments. · Pass the array B and its dimensions (number of rows and columns) to the FUNCTON2 as arguments. Be sure that the number of rows and columns should be passed as POINTER arguments. Within the FUNCTION1:· Compute and print the prime factors of each element of array A. · Store the sum of the prime factors of each element of array A into the corresponding element of array B. Within the FUNCTION2: Print arrays A and B. PS: No need to take any entry from user. For all calculations, use only the numbers that you generate in matrix A.
项目 ID: 6773273

关于此项目

14提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi, I am a C/C++ developer. I would like to do your task. I can start working right now. Contact me.......... Thanks.
$12 USD 在1天之内
5.0 (5条评论)
2.4
2.4
14威客以平均价$6 USD/小时来参与此工作竞价
用户头像
Hello. It looks as easy thing and it can be done in one or two hours (10$) ............................
$10 USD 在1天之内
4.9 (1487条评论)
7.8
7.8
用户头像
hy buddy how are you.. i am a software engineering student and this assignment is just a piece of cake for me... so let me do it...come on chat and we can discuss the project thanks...
$6 USD 在3天之内
4.9 (6条评论)
2.5
2.5
用户头像
Non hai ancora fornito una proposta
$8 USD 在3天之内
5.0 (5条评论)
2.5
2.5
用户头像
Dear Employer, I have completely read your requirement. I can take-up your task and finish it sooner. I have strong programming skills in C and C++. You can chat with me to discuss few details. Thank you, Sandeep
$2 USD 在10天之内
5.0 (4条评论)
2.1
2.1
用户头像
A proposal has not yet been provided
$5 USD 在3天之内
5.0 (1条评论)
1.2
1.2
用户头像
Hi gone through your project description and i can assure you that i can complete the work as soon as you want. Please PM me if any queries i would be happy to provide you the best possible solution. Thank You Best Regards Dinesh Choudhary
$5 USD 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
I am a 3rd year student of computer science with high proficiency over c++. I have 3 year long experience in algorithmic programming.
$7 USD 在3天之内
0.0 (0条评论)
1.8
1.8
用户头像
Hi, I will do it. I am c++ developer. I will make you understand these programs on skype. T&R, JRV
$11 USD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi I am good at programming skills. I have done few embedded projects too. I can help you out. If you wish, we can speak about it later. Thanks, Parameshwaran
$3 USD 在10天之内
0.0 (0条评论)
0.0
0.0
用户头像
I am a C++ student and this is actually my first bid. I hope you will give me a chance. I am pretty good at programming and I can get this done efficiently.
$4 USD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
I have completed this project. Here is the output: Sum of prime factor of 3 is 3 Sum of prime factor of 5 is 5 Sum of prime factor of 7 is 7 Sum of prime factor of 9 is 6 Sum of prime factor of 11 is 11 Sum of prime factor of 13 is 13 Sum of prime factor of 15 is 8 Sum of prime factor of 17 is 17 Sum of prime factor of 19 is 19 Sum of prime factor of 21 is 10 Sum of prime factor of 23 is 23 Sum of prime factor of 25 is 10 Sum of prime factor of 27 is 9 Sum of prime factor of 29 is 29 Sum of prime factor of 31 is 31 Sum of prime factor of 33 is 14 Sum of prime factor of 35 is 12 Sum of prime factor of 37 is 37 Sum of prime factor of 39 is 16 Sum of prime factor of 41 is 41 Matrix A 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 Matrix B 3 5 7 6 11 13 8 17 19 10 23 10 9 29 31 14 12 37 16 41 -------------------------------- Process exited after 0.03606 seconds with return value 0 Press any key to continue . . . pick me please - you will make me win my first freelance project - Thank you
$5 USD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

TURKEY的国旗
Ankara, Turkey
5.0
65
会员自10月 17, 2013起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。