PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY GOOD WORK NICE FORMULA OR SOMETHING LIKE THAT, BUT ACTULLY HE CAN USE. THANK YOU.
Hartleys Function Code
Contains unread posts
Actions for Hartleys Function Code
Chad Hartley posted Nov 5, 2015 5:10 PM
Subscribe
This program will add an integer number and a decimal number up to 2 decimal places. I have included notes in the code to explain what each thing does. I hope I did this right. It compiles successfully.
PseudoCode
Start
Declare int O1; Stands for Output1
O1=sum; Sum is the functions name
Int sum()
Declare variables
Int num1;
Float num2;
Write “Enter a number.”
Scanf num1
Write”Enter a decimal number.”
Scanf num2
Return num1+num2
end
C Code
#include <stdio.h>
int sum();//prototype
int main()//calling program
{
//Declare a varaiable
int O1;
O1=sum();//main is calling sum one time.
//if I listed this twice it would run the function 'sum' twice.
// Example: if I add a new int (int O1, O2) and declare O2 to
//be O2=sum then the function would run twice.
}
int sum ()//function 'sum'
{
int num1;// Declare intergers/variables
float num2;
printf("Enter a number.\n");
scanf("%d",&num1);// Take first input and assign it to num1
printf("Enter a decimal number.\n");
scanf("%.2f",&num2);
//Can use the printf statement but when you are calling an integer you can use the return.
//printf("The sum of %d, %d, is %d", num1,num2,num1+num2);
return num1+num2;
}
ADD COMMENT HERE
Chaotic Function
Contains unread posts
Actions for Chaotic Function
Joshua Ray posted Nov 5, 2015 2:33 PM
Subscribe
float tmp
int i
function float chaos(float num)
{
for i < 20
num = 3.9*num*(1-num)
print num
}
main
print "Program description"
print "Request input btw 0 and 1"
tmp = input
chaos(tmp)
/*
* File: main.c
* Author: JaiEllRei
*
* Created on November 5, 2015, 2:04 PM
*/
#include <stdio.h>
#include <stdlib.h>
float chaos(float num);
int main(void)
{
float tmp;
printf("This program illustrates a choatic function. \n");
printf("Input a number between 0 and 1: ");
scanf("%f", &tmp);
chaos(tmp);
}
float chaos(float num)
{
for (int i=0; i<20; i++){
/*Chaotic Formula*/
num = 3.9 * num * (1-num);
printf("%.3f \n", num);
}
}
This program illustrates a choatic function.
Input a number between 0 and 1: .2
0.624
0.915
0.303
0.824
0.566
0.958
0.156
0.514
0.974
0.098
0.345
0.881
0.409
0.943
0.210
0.647
0.891
0.379
0.918
0.293
ADD COMMENT HERE
//MPH to KPH Conversion Function
Function KPHConv(value) as float
Set KPHConv = value*1.609344
End Function
Pseudocode for simple conversion program calling function
//Declare function
// MPH to KPH Conversion Function
Functio ...
C++ code only(Retrieve of Malik D., 2015, p. 742) Programming Exer.pdfandreaplotner1
C++ code only
(Retrieve of Malik D., 2015, p. 742) Programming Exercises 24., Chapter 10.
Consider the integer 6203851479017652638. Some of the operations that can be performed on
this integer are:
(5) Determine whether the number is prime.
(6) Find the prime factorization of the number.
Write the definitions of the member functions of the class integerManipulation .
class integerManipulation {
public:
void setNum(long long n);
//Function to set num.
//Postcondition: num = n;
long long getNum();
//Function to return num.
//Postcondition: The value of num is returned.
void reverseNum();
//Function to reverse the digits of num.
//Postcondition: revNum is set to num with digits in
//in the reverse order.
void classifyDigits();
//Function to count the even, odd, and zero digits of
num.
//Postcondition: evenCount = the number of even digits
// in num.
// oddCount = the number of odd digits in num.
int getEvensCount();
//Function to return the number of even digits in num.
//Postcondition: The value of evensCount is returned.
int getOddsCount();
//Function to return the number of odd digits in num.
//Postcondition: The value of oddscount is returned.
int getZerosCount();
//Function to return the number of zeros in num.
//Postcondition: The value of zerosCount is returned.
int sumDigits();
//Function to return the sum of the digits of num.
//Postcondition: The sum of the digits is returned.
integerManipulation(long long n = 0);
//Constructor with a default parameter.
//The instance variable num is set accordingto the
//parameter, and other instance variables are
//set to zero.
//The default value of num is 0;
//Postcondition: num = n; revNum = 0; evenscount = 0;
//oddsCount = 0; zerosCount = 0;
private:
long long num;
long long revNum;
int evenCcount;
int oddsCount;
int zerosCount;
};
void integerManipulation::setNum(long long n) {
num = n;
}
long long integerManipulation::getNum() {
return num;
}
void integerManipulation::reverseNum() {
cout << "Programming Exercise" << endl;
}
void integerManipulation::classifyDigits() {
long long temp;
temp = abs(num);
int digit;
while (temp != 0) {
digit = temp - (temp / 10) * 10; temp = temp / 10;
if (digit % 2 == 0) {
evensCount++;
if (digit == 0)
zerosCount++;
}
else
oddsCount++;
}
}
integerManipulation::getEvensCount() {
return evensCount;
}
int integerManipulation::getOddsCount() {
return oddsCount;
}
int integerManipulation::getZerosCount() {
return zerosCount;
}
int integerManipulation::sumDigits() {
cout << "Programming Exercise " << endl;
return 0;
}
integerManipulation::integerManipulation(long long n) {
num = n;
revNum = 0;
evensCount = 0;
oddsCount = 0;
zerosCount = 0;
}
#include
#include "integerManipulation.h"
using namespace std;
int main(){
integerManipulation number;
long long num;
cout << "Enter an integer: ";
cin >> num;
cout << endl;
number.setNum(num);
number.classifyDigits();
cout << "The number of even digits: "
<< number.getEvensCount() << endl
<< "The number of zeros: "
<< number.getZero.
The purpose of this C++ programming project is to allow the student .pdfRahul04August
The purpose of this C++ programming project is to allow the student to perform parallel array
and multidimensional array processing. The logic for string and Cstring has already been
completed, so the assignment can be started before we actually cover string and Cstring in detail.
This program has the following three menu options:
Solution
/*
This program uses simple arrays, multidimensional arrays, cstrings, strings, and files.
It allows a payroll clerk to choose an option from a menu. The choices are:
A: List the Payroll Information by Employee Name
B: Search Payroll Information by Employee Name
X: Exit the Payroll Information Module
The following items for each employee are saved in the file p10.txt:
Employee ID (1000 - 9999)
Last Name (15 characters)
First Name (15 characters)
Rate (5.00 - 10.00)
Hours W1,W2,W3,W4 (0-60)
*/
#include // file processing
#include // cin and cout
#include // toupper
#include // setw
#include // cstring functions strlen, strcmp, strcpy stored in string.h
#include // string class
#define stricmp strcasecmp
#define strnicmp strncasecmp
using namespace std;
//Disable warning messages C4267 C4996.
//To see the warnings, comment out the following line.
//#pragma warning( disable : 4267 4996)
//Warning C4267: coversion from size_t to int, possible lost of data
//size_t is a data type defined in and is an unsigned integer.
//The function strlen returns a value of the type size_t, but in
//searchByName we assign the returned value to an int.
//We could also declare the variable as size_t instead of int.
// size_t stringLength;
//Warning C4996: strnicmp strcpy, stricmp was declared deprecated, means
//the compiler encountered a function that was marked with deprecated.
//The deprecated function may no longer be supported in a future release.
//Global Constants
//When using to declare arrays, must be defined with const modifier
const int ARRAY_SIZE = 20, HOURS_SIZE = 4, NAME_SIZE = 16;
//Declare arrays as global so we don\'t have to pass the arrays to each function.
//Normally we wouldn\'t declare variables that change values a global.
int employeeId[ARRAY_SIZE];
string firstName[ARRAY_SIZE];
char lastName[ARRAY_SIZE][NAME_SIZE];
double rate[ARRAY_SIZE];
int hours[ARRAY_SIZE][HOURS_SIZE];
int numberOfEmps; //count of how many employees were loaded into arrays
int sumHours[ARRAY_SIZE] = {0}; //initialize arrays to zero by providing a
double avgHours[ARRAY_SIZE] = {0}; //value for the first element in the array
//Function Prototypes
void loadArray( );
void sumAndComputeAvgHours( );
void listByName( );
void searchByName( );
void sortByName( );
void swapValues(int i, int minIndex);
void listEmployees( );
void listEmployeesHeadings( );
void listEmployeesDetails(int i);
void listEmployeesTotals( );
void displayContinuePrompt( );
//Program starts here
int main()
{
//Declare and initialize local main variables
char choice; //menu option
//Load the arrays with data
loadArray();
//Sum and compute the average hours
sumAndComputeAv.
APA, The assignment require a contemporary approach addressing Race,.docxamrit47
APA, The assignment require a contemporary approach addressing Race, Gender, and Crime. All work will include an introduction and a cogent thesis. The literature review will include a body of knowledge inclusive of in text citations, and supporting relevant references. The paper should end with discussions that highlight the future of the CJS. A conclusion of the literature review will end the written assignment. The assignment will consist of 2000 words. Reference page along with 6 peer reviewed references and course textbook.
.
APA style and all questions answered ( no min page requirements) .docxamrit47
APA style and all questions answered ( no min page requirements)
Diagnostic Techniques -
Pick any two diseases that require diagnostic tests to identify them from the body system. Use one of the body systems: cardiovascular, respiratory, renal, hepatobiliary, lymphatic, reproductive or nervous systems. For each of the diseases, explain:
Why is a particular test recommended?
How does the test work?
What information is obtained from the diagnostic test regarding the disease?
Does the diagnosis need confirmation with another diagnostic test?
.
More Related Content
Similar to PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
C++ code only(Retrieve of Malik D., 2015, p. 742) Programming Exer.pdfandreaplotner1
C++ code only
(Retrieve of Malik D., 2015, p. 742) Programming Exercises 24., Chapter 10.
Consider the integer 6203851479017652638. Some of the operations that can be performed on
this integer are:
(5) Determine whether the number is prime.
(6) Find the prime factorization of the number.
Write the definitions of the member functions of the class integerManipulation .
class integerManipulation {
public:
void setNum(long long n);
//Function to set num.
//Postcondition: num = n;
long long getNum();
//Function to return num.
//Postcondition: The value of num is returned.
void reverseNum();
//Function to reverse the digits of num.
//Postcondition: revNum is set to num with digits in
//in the reverse order.
void classifyDigits();
//Function to count the even, odd, and zero digits of
num.
//Postcondition: evenCount = the number of even digits
// in num.
// oddCount = the number of odd digits in num.
int getEvensCount();
//Function to return the number of even digits in num.
//Postcondition: The value of evensCount is returned.
int getOddsCount();
//Function to return the number of odd digits in num.
//Postcondition: The value of oddscount is returned.
int getZerosCount();
//Function to return the number of zeros in num.
//Postcondition: The value of zerosCount is returned.
int sumDigits();
//Function to return the sum of the digits of num.
//Postcondition: The sum of the digits is returned.
integerManipulation(long long n = 0);
//Constructor with a default parameter.
//The instance variable num is set accordingto the
//parameter, and other instance variables are
//set to zero.
//The default value of num is 0;
//Postcondition: num = n; revNum = 0; evenscount = 0;
//oddsCount = 0; zerosCount = 0;
private:
long long num;
long long revNum;
int evenCcount;
int oddsCount;
int zerosCount;
};
void integerManipulation::setNum(long long n) {
num = n;
}
long long integerManipulation::getNum() {
return num;
}
void integerManipulation::reverseNum() {
cout << "Programming Exercise" << endl;
}
void integerManipulation::classifyDigits() {
long long temp;
temp = abs(num);
int digit;
while (temp != 0) {
digit = temp - (temp / 10) * 10; temp = temp / 10;
if (digit % 2 == 0) {
evensCount++;
if (digit == 0)
zerosCount++;
}
else
oddsCount++;
}
}
integerManipulation::getEvensCount() {
return evensCount;
}
int integerManipulation::getOddsCount() {
return oddsCount;
}
int integerManipulation::getZerosCount() {
return zerosCount;
}
int integerManipulation::sumDigits() {
cout << "Programming Exercise " << endl;
return 0;
}
integerManipulation::integerManipulation(long long n) {
num = n;
revNum = 0;
evensCount = 0;
oddsCount = 0;
zerosCount = 0;
}
#include
#include "integerManipulation.h"
using namespace std;
int main(){
integerManipulation number;
long long num;
cout << "Enter an integer: ";
cin >> num;
cout << endl;
number.setNum(num);
number.classifyDigits();
cout << "The number of even digits: "
<< number.getEvensCount() << endl
<< "The number of zeros: "
<< number.getZero.
The purpose of this C++ programming project is to allow the student .pdfRahul04August
The purpose of this C++ programming project is to allow the student to perform parallel array
and multidimensional array processing. The logic for string and Cstring has already been
completed, so the assignment can be started before we actually cover string and Cstring in detail.
This program has the following three menu options:
Solution
/*
This program uses simple arrays, multidimensional arrays, cstrings, strings, and files.
It allows a payroll clerk to choose an option from a menu. The choices are:
A: List the Payroll Information by Employee Name
B: Search Payroll Information by Employee Name
X: Exit the Payroll Information Module
The following items for each employee are saved in the file p10.txt:
Employee ID (1000 - 9999)
Last Name (15 characters)
First Name (15 characters)
Rate (5.00 - 10.00)
Hours W1,W2,W3,W4 (0-60)
*/
#include // file processing
#include // cin and cout
#include // toupper
#include // setw
#include // cstring functions strlen, strcmp, strcpy stored in string.h
#include // string class
#define stricmp strcasecmp
#define strnicmp strncasecmp
using namespace std;
//Disable warning messages C4267 C4996.
//To see the warnings, comment out the following line.
//#pragma warning( disable : 4267 4996)
//Warning C4267: coversion from size_t to int, possible lost of data
//size_t is a data type defined in and is an unsigned integer.
//The function strlen returns a value of the type size_t, but in
//searchByName we assign the returned value to an int.
//We could also declare the variable as size_t instead of int.
// size_t stringLength;
//Warning C4996: strnicmp strcpy, stricmp was declared deprecated, means
//the compiler encountered a function that was marked with deprecated.
//The deprecated function may no longer be supported in a future release.
//Global Constants
//When using to declare arrays, must be defined with const modifier
const int ARRAY_SIZE = 20, HOURS_SIZE = 4, NAME_SIZE = 16;
//Declare arrays as global so we don\'t have to pass the arrays to each function.
//Normally we wouldn\'t declare variables that change values a global.
int employeeId[ARRAY_SIZE];
string firstName[ARRAY_SIZE];
char lastName[ARRAY_SIZE][NAME_SIZE];
double rate[ARRAY_SIZE];
int hours[ARRAY_SIZE][HOURS_SIZE];
int numberOfEmps; //count of how many employees were loaded into arrays
int sumHours[ARRAY_SIZE] = {0}; //initialize arrays to zero by providing a
double avgHours[ARRAY_SIZE] = {0}; //value for the first element in the array
//Function Prototypes
void loadArray( );
void sumAndComputeAvgHours( );
void listByName( );
void searchByName( );
void sortByName( );
void swapValues(int i, int minIndex);
void listEmployees( );
void listEmployeesHeadings( );
void listEmployeesDetails(int i);
void listEmployeesTotals( );
void displayContinuePrompt( );
//Program starts here
int main()
{
//Declare and initialize local main variables
char choice; //menu option
//Load the arrays with data
loadArray();
//Sum and compute the average hours
sumAndComputeAv.
APA, The assignment require a contemporary approach addressing Race,.docxamrit47
APA, The assignment require a contemporary approach addressing Race, Gender, and Crime. All work will include an introduction and a cogent thesis. The literature review will include a body of knowledge inclusive of in text citations, and supporting relevant references. The paper should end with discussions that highlight the future of the CJS. A conclusion of the literature review will end the written assignment. The assignment will consist of 2000 words. Reference page along with 6 peer reviewed references and course textbook.
.
APA style and all questions answered ( no min page requirements) .docxamrit47
APA style and all questions answered ( no min page requirements)
Diagnostic Techniques -
Pick any two diseases that require diagnostic tests to identify them from the body system. Use one of the body systems: cardiovascular, respiratory, renal, hepatobiliary, lymphatic, reproductive or nervous systems. For each of the diseases, explain:
Why is a particular test recommended?
How does the test work?
What information is obtained from the diagnostic test regarding the disease?
Does the diagnosis need confirmation with another diagnostic test?
.
Apa format1-2 paragraphsreferences It is often said th.docxamrit47
Apa format
1-2 paragraphs
references
It is often said that people today are no longer loyal to organizations. Yet employees are loyal to their direct supervisor. This discussion question asks you to evaluate and apply your understanding of followership theory. Reflect on any techniques for understanding, achieving, and positively applying organizational and personal power and influence as a follower.
When effective leaders leave an organization to move on to another organization, they often take at least one or two employees. Employees who respect a leader and have generated a relationship and bond want to work under that leader. One indicator of effective leaders is communication skills in which a leader is attuned to the needs of each employee.
REAL-LIFE APPLICATION: Discuss a leader with whom you are familiar and who has the loyalty of his or her direct reports. Alternatively, you might interview a friend or family member about their experiences or you may research a well-known leader. Address the following in your response.
Evaluate how this leader earns respect and loyalty from his or her employees.
If you were in a leadership position, what methods would you implement to inspire, motivate, and empower your employees?
Support your discussion with at least one scholarly article and, if relevant, credible media reports, and cite each source using APA style.
.
APA format2-3 pages, double-spaced1. Choose a speech to review. It.docxamrit47
APA format2-3 pages, double-spaced
1. Choose a speech to review. It can be any type (informative, persuasive, special occasion). It should be between 7-20 minutes. You may search Youtube for videos of speeches (TED talks, commencement speeches, public addresses by government etc).
Copy the link of the video you've chosen to your submission form.
2. Analyze the speech content and speaker delivery, paying attention to:
what the message is
how the message is organized
nonverbal cues (tone, pitch, pauses, gestures etc)
the context in which the message is being delivered
3. Provide your opinion on the speech and speaker delivery.
What do you think the intention of the speaker is?
Does the effect on the audience seem to follow that intention?
What did you like about the speech?
Is it appropriate for the context; why?
Be sure to attach your essay as a .doc or .rtf file and make sure to proofread for spelling and grammar errors.
.
APA format httpsapastyle.apa.orghttpsowl.purd.docxamrit47
APA format
https://apastyle.apa.org/
https://owl.purdue.edu/owl/research_and_citation/apa_style/apa_formatting_and_style_guide/general_format.html
Min number of pages are 30 pages
Must have
Contents with page numbers
Abstract
Introduction
The problem
Are there any sub-problems?
Is there any issue need to be present in relation to the problem?
The solutions
Steps of the solutions
Compare the solution to other solution
Any suggestion to improve the solution
Conclusion
References
Research Paper topic:
Computer Security Objects Register
https://csrc.nist.gov/Projects/Computer-Security-Objects-Register
The Computer Security Objects Register (CSOR) specifies names that uniquely identify CSOs. These unique names are used to reference these objects in abstract specifications and during the negotiation of security services for a transaction or application.
The studies must look at different algorithms used CSOR and the benefits of using CSOR
.
APA format2-3 pages, double-spaced1. Choose a speech to review. .docxamrit47
APA format2-3 pages, double-spaced
1. Choose a speech to review. It can be any type (informative, persuasive, special occasion). It should be between 7-20 minutes. You may search Youtube for videos of speeches (TED talks, commencement speeches, public addresses by government etc).
Copy the link of the video you've chosen to your submission form.
2. Analyze the speech content and speaker delivery, paying attention to:
what the message is
how the message is organized
nonverbal cues (tone, pitch, pauses, gestures etc)
the context in which the message is being delivered
3. Provide your opinion on the speech and speaker delivery.
What do you think the intention of the speaker is?
Does the effect on the audience seem to follow that intention?
What did you like about the speech?
Is it appropriate for the context; why?
Be sure to attach your essay as a .doc or .rtf file and make sure to proofread for spelling and grammar errors.
.
APA Formatting AssignmentUse the information below to create.docxamrit47
APA Formatting Assignment
Use the information below to create a reference list using proper APA formatting
1)
Authors: Christina Jane Jones, Helen Smith and Carrie Llewellyn
Title: Evaluating the effectiveness of health belief model interventions in improving adherence: a
systematic review
Publication Year: 2014
Journal: Health Psychology Review, Vol. 8, No. 3, 253_269
DOI: 10.1080/17437199.2013.802623
2)
Authors: Mohammad Bagherniya, Ali Taghipour, Manoj Sharma, Amirhossein Sahebkar, Isobel R.
Contento, Seyed Ali Keshavarz, Firoozeh Mostafavi Darani and Mohammad Safarian
Title: Obesity intervention programs among adolescents using social cognitive theory: a systematic
literature review
Publication Year: 2018
Journal: Health Education Research, Vol. 33, No. 1, 26_39
3)
Authors: Christine Y. K. Lau, Kris Y. W. Lok, Marie Tarrant
Title: Breastfeeding Duration and the Theory of Planned Behavior and Breastfeeding Self-Efficacy
Framework: A Systematic Review of Observational Studies
Publication Year: 2018
Journal: Maternal and Child Health Journal, Vol. 22, 327_342
DOI: 10.1007/s10995-018-2453-x
4)
Authors: Amy E. Bodde, Dong-Chul Seo
Title: A review of social and environmental barriers to physical activity for adults with intellectual
disabilities
Publication Year: 2009
Journal: Disability and Health Journal, Vol. 2, 57_66
5)
Authors: Linda Irvine, Ambrose J. Melson, Brian Williams, Falko F. Sniehotta, Gerry Humphris, Iain K.
Crombie
Title: Design and development of a complex narrative intervention delivered by text messages to reduce
binge drinking among socially disadvantaged men
Publication Year: 2018
Journal: Pilot and Feasibility Studies, Vol. 4, No.105, 1_11
.
APA style300 words10 maximum plagiarism Mrs. Smith was.docxamrit47
APA style
300 words
10% maximum plagiarism
Mrs. Smith was a 73-year-old widow who lived alone with no significant social support. She had been suffering from emphysema for several years and had had frequent hospitalizations for respiratory problems. On the last hospital admission, her pneumonia quickly progressed to organ failure. Death appeared to be imminent, and she went in and out of consciousness, alone in her hospital room. The medical-surgical nursing staff and the nurse manager focused on making Mrs. Smith’s end-of-life period as comfortable as possible. Upon consultation with the vice president for nursing, the nurse manager and the unit staff nurses decided against moving Mrs. Smith to the palliative care unit, although considered more economical, because of the need to protect and nurture her because she was already experiencing signs and symptoms of the dying process. Nurses were prompted by an article they read on human caring as the “language of nursing practice” (Turkel, Ray, & Kornblatt, 2012) in their weekly caring practice meetings.
The nurse manager reorganized patient assignments. She felt that the newly assigned clinical nurse leader who was working between both the medical and surgical units could provide direct nurse caring and coordination at the point of care (Sherman, 2012). Over the next few hours, the clinical nurse leader and a staff member who had volunteered her assistance provided personal care for Mrs. Smith. The clinical nurse leader asked the nurse manager whether there was a possibility that Mrs. Smith had any close friends who could “be there” for her in her final moments. One friend was discovered and came to say goodbye to Mrs. Smith. With help from her team, the clinical nurse leader turned, bathed, and suctioned Mrs. Smith. She spoke quietly, prayed, and sang hymns softly in Mrs. Smith’s room, creating a peaceful environment that expressed compassion and a deep sense of caring for her. The nurse manager and nursing unit staff were calmed and their “hearts awakened” by the personal caring that the clinical nurse leader and the volunteer nurse provided. Mrs. Smith died with caring persons at her bedside, and all members of the unit staff felt comforted that she had not died alone.
Davidson, Ray, and Turkel (2011) note that caring is complex, and caring science includes the art of practice, “an aesthetic which illuminates the beauty of the dynamic nurse-patient relationship, that makes possible authentic spiritual-ethical choices for transformation—healing, health, well-being, and a peaceful death” (p. xxiv). As the clinical nurse leader and the nursing staff in this situation engaged in caring practice that focused on the well-being of the patient, they simultaneously created a caring-healing environment that contributed to the well-being of the whole—the emotional atmosphere of the unit, the ability of the clinical nurse leader and staff nurses to practice caringly and competently, and the qualit.
APA format1. What are the three most important takeawayslessons.docxamrit47
APA FORMAT
1. What are the three most important takeaways/lessons from the material provided in this module? (150 words or more)
2. Drawing on the material that was provided what else would like to know? What other related questions/ideas/topics would you like to explore in the future? (100 words or more)
3. What is lobbying? What role does it play in the relationship between government and business? (100 words or more)
.
APA General Format Summary APA (American Psychological.docxamrit47
APA General Format
Summary
APA (American Psychological Association) style is most commonly used to cite sources within
the social sciences. This resource, revised according to the 6th edition, second printing of the
APA manual, offers examples for the general format of APA research papers, in-text citations,
endnotes/footnotes, and the reference page. For more information, please consult the Publication
Manual of the American Psychological Association, (6th ed., 2nd printing).
Contributors: Joshua M. Paiz, Elizabeth Angeli, Jodi Wagner, Elena Lawrick, Kristen Moore,
Michael Anderson, Lars Soderlund, Allen Brizee, Russell Keck
Last Edited: 2016-05-13 12:06:24
Please use the example at the bottom of this page to cite the Purdue OWL in APA.
To see a side-by-side comparison of the three most widely used citation styles, including a chart
of all APA citation guidelines, see the Citation Style Chart.
You can also watch our APA vidcast series on the Purdue OWL YouTube Channel.
General APA Guidelines
Your essay should be typed, double-spaced on standard-sized paper (8.5" x 11") with 1" margins
on all sides. You should use a clear font that is highly readable. APA recommends using 12 pt.
Times New Roman font.
Include a page header (also known as the "running head") at the top of every page. To create
a page header/running head, insert page numbers flush right. Then type "TITLE OF YOUR
PAPER" in the header flush left using all capital letters. The running head is a shortened
version of your paper's title and cannot exceed 50 characters including spacing and punctuation.
Major Paper Sections
Your essay should include four major sections: The Title Page, Abstract, Main Body,
and References.
Title Page
The title page should contain the title of the paper, the author's name, and the institutional
affiliation. Include the page header (described above) flush left with the page number flush right
at the top of the page. Please note that on the title page, your page header/running head should
look like this:
Running head: TITLE OF YOUR PAPER
Pages after the title page should have a running head that looks like this:
TITLE OF YOUR PAPER
http://owl.english.purdue.edu/owl/resource/949/01/
http://www.youtube.com/playlist?list=PL8F43A67F38DE3D5D&feature=edit_ok
http://www.youtube.com/user/OWLPurdue
After consulting with publication specialists at the APA, OWL staff learned that the APA 6th
edition, first printing sample papers have incorrect examples of Running heads on pages after
the title page. This link will take you to the APA site where you can find a complete list of all the
errors in the APA's 6th edition style guide.
Type your title in upper and lowercase letters centered in the upper half of the page. APA
recommends that your title be no more than 12 words in length and that it should not contain
abbreviations or words that serve no purpose. Your title may take up one or two l.
Appearance When I watched the video of myself, I felt that my b.docxamrit47
Appearance
When I watched the video of myself, I felt that my black straight skirt, closed toed shoes and white collared shirt gave a professional appearance and more credibility with the audience. My hair was a little too casual. I wished I had that one strand tacked back so it would have stayed out of my eyes. This made it hard for the audience to see my face and was distracting when I had to keep tucking it back. My earrings were small so the audience would watch me and not my jewelry. I wasn’t standing up straight and it made me look less confident. I need to remember to have better posture when speaking.Organizational Pattern
My introduction was slow and clear and the story was suspenseful enough to grab their attention. It was a little confusing at the beginning because I didn’t preview the main points but because I transitioned well between the steps by saying, “Now that you have completed step 1, selecting the pattern, you are ready to move to step two, preparing the wood” the audience was able to follow. I remembered to state my research source for two of the steps but forgot the third. It made the third step seem shallower and I think I lost credibility. My word choice was good. I made sure to use a variety of descriptive words for the types of wood, explained new vocabulary and repeated phrases to help the audience remember the steps. For some reason the ending was weak. I didn’t tie it to the introduction or have a good ending sentence. It would have been a good idea to remind them of the beginning story and how woodworking affects their everyday life.Vocal Qualities
During my speech I had such a dry mouth that I messed up on the pronunciation of some of the words like saying “exspecially” instead of “especially.” This sounded less professional to the audience. I had good projection so that even the back row could hear without straining. My pitch variation is getting better but I still keep using the same rhythm with my pauses. This make me sound more monotone, like I’m reading the speech rather than just having a conversation. I’ll need to practice changing my rate and pauses. I also noticed many of my sentences end in an up-pitch, like I’m asking a question. If I bring some of those down it will make me appear more confident rather than questioning. It is hard to get rid of those filler words. “Like” and “so” are two of my favorites but it does make me sound like a teenager. I had no idea I said them so much.Delivery
There weren’t many gestures, which made me look stiff and nervous. I just held my note cards and stood in one spot the whole time. I need to do more with my hands and maybe move a little more in the space. I really admire the people in class who have such a good flow with their delivery from gestures to using the space around them purposefully. I felt I held my note cards too close to my face and had my head down most of the time. While watching the video, I noticed I looked at my cards and the poster a l.
apa format1-2 paragraphsreferencesFor this week’s .docxamrit47
apa format
1-2 paragraphs
references
For this week’s discussion, choose a current social movement from anywhere in the world. Then, using the required readings, videos, and your own research, discuss the “role these leaders” play in your chosen social movement. In addition, describe any group or collective processes that you discovered. Use specific examples to make major points.
Support your writing with at least two scholarly sources that are
in addition
to required reading.
.
APA Format, with 2 references for each question and an assignment..docxamrit47
APA Format, with 2 references for each question and an assignment.
1. Some say that analytics in general dehumanize managerial
activities, and others say they do not. Discuss arguments
for both points of view.
3. What are some of the major privacy concerns in employing
intelligent systems on mobile data?
4. Identify some cases of violations of user privacy from
current literature and their impact on data science as a
profession.
Ex.2. Search the Internet to find examples of how intelligent
systems can facilitate activities such as empowerment,
mass customization, and teamwork.
Reflective Assignment:
What has been significant about this course that will help you perform data science tasks in the future.
.
APA-formatted 8-10 page research paper which examines the potential .docxamrit47
APA-formatted 8-10 page research paper which examines the potential psychological impact of long-term exposure to mass media messages on the major issues surrounding political advertising and political campaigns in the United States and why it is currently relevant and impacts society.
12 Point Times New Roman Font
Double Spaced
Please include research that supports ideas and topics related to political advertising and political campaigns in the United States.
.
APA STYLE 1.Define the terms multiple disabilities and .docxamrit47
APA STYLE
1.Define the terms
multiple disabilities
and
deaf-blindness
as described in the Individuals with Disabilities Act (IDEA)
2.Identify three types of educational assessments for students with severe and multiple disabilities.
3.Identify the features of effective services and supports for children with severe and multiple disabilities during a) early childhood years and b) elementary school years.
4. Distinguish between the term
deaf
and
hard of hearing
5.
Identify 4 approaches to teaching communication skills to people with a hearing loss.
6.
What are the distinctive features of refractive eye problems, muscle disorders of the eye and receptive eye problems?
7.Describe two content areas that should be included in educational programs for students with vision loss.
8. Identify several disabilities that may accompany cerebral palsy.
9.What is spina bifida myelomeningocele?
10.Describe the physical limitations associated with muscular distrophy
11.Describe the AIDS disease stages through which individuals with the syndrome move
12.Identify present and future interventions for the treatment of children and youth with cystic fibrosis.
.
APA STYLE follow this textbook answer should be summarize for t.docxamrit47
APA STYLE
follow this textbook answer should be summarize for this below text
Study all types of Distributive Justice (6 or 7 total)
Summarize each in
one sentence
. Produce examples for each.
Don't use
any other text or article except this one.
There are different theories of how to make the basic distribution. Among them are:
1. Scope and Role of Distributive Principles
2. Strict Egalitarianism
3. The Difference Principle
4. Equality of Opportunity and Luck Egalitarianism
5. Welfare-Based Principles
6. Desert-Based Principles
7. Libertarian Principles
8. Feminist Principles
There are different theories of how to make the basic distribution. Among them are:
Strict Egalitarianism
One of the simplest principles of distributive justice is that of strict, or radical, equality. The principle says that every person should have the same level of material goods and services. The principle is most commonly justified on the grounds that people are morally equal and that equality in material goods and services is the best way to give effect to this moral ideal.
The Difference Principle
The most widely discussed theory of distributive justice in the past four decades has been that proposed by John Rawls in
A Theory of Justice
, (Rawls 1971), and
Political Liberalism
, (Rawls 1993). Rawls proposes the following two principles of justice:
· 1. Each person has an equal claim to a fully adequate scheme of equal basic rights and liberties, which scheme is compatible with the same scheme for all; and in this scheme the equal political liberties, and only those liberties, are to be guaranteed their fair value.
· 2. Social and economic inequalities are to satisfy two conditions: (a) They are to be attached to positions and offices open to all under conditions of fair equality of opportunity; and (b), they are to be to the greatest benefit of the least advantaged members of society. (Rawls 1993, pp. 5–6. The principles are numbered as they were in Rawls' original
A Theory of Justice
.)
Equality of Opportunity and Luck Egalitarianism
Dworkin proposed that people begin with equal resources but be allowed to end up with unequal economic benefits as a result of their own choices. What constitutes a just material distribution is to be determined by the result of a thought experiment designed to model fair distribution. Suppose that everyone is given the same purchasing power and each uses that purchasing power to bid, in a fair auction, for resources best suited to their life plans. They are then permitted to use those resources as they see fit. Although people may end up with different economic benefits, none of them is given less consideration than another in the sense that if they wanted somebody else's resource bundle they could have bid for it instead.
In Dworkin's proposal we see his attitudes to ‘ambitions’ and ‘endowments’ which have become a central feature of luck egalitarianism (though under a wide variety of al.
APA7Page length 3-4, including Title Page and Reference Pag.docxamrit47
APA7
Page length: 3-4, including Title Page and Reference Page.
Discuss and explore the synergy that RFID technology & Time Based Competition has had on the grocery retail industry. Are the two concepts compatible? And then explain. Provide real-world scenarios, which reflect Time Base Competition.
video on
RFID in Logistics
.
APA format, 2 pagesThree general sections 1. an article s.docxamrit47
APA format, 2 pages
Three general sections:
1. an article summary,
2. how the article is relevant to psychology and human behavior (what do the results mean)
3. reaction to the article (was it interesting , were the results surprising, did it seem like common sense, etc.)
.
APA Style with minimum of 450 words, with annotations, quotation.docxamrit47
APA Style with minimum of 450 words, with annotations, quotations and 3 references.
. Mass vaccination after a disaster:
There was a natural disaster that occurred and has led to an infectious disease outbreak (your choice of one that is vaccine-preventable). Those affected by the disaster are settled in temporary locations with high population densities, inadequate food and shelter, unsafe water, poor sanitation and infrastructure that has been compromised or destroyed. There is a vaccine available for the infectious disease but there are not enough doses to give to all who are at-risk due to the natural disaster.
You are the public health official in charge of infectious disease prevention. Devise a plan to administer the vaccine to the population. Will you use a lottery system or target specific sub-populations? How will you track and monitor those who are vaccinated? Use the attributes of the infectious disease to provide reasoning behind your plan. What other prevention techniques that can be used to supplement the vaccination plan?
.
APA FORMAT1. What are the three most important takeawayslesson.docxamrit47
APA FORMAT
1. What are the three most important takeaways/lessons from the material provided in this online course (the entire quarter) and why? (150 words or more)
2. How did the material provided in this course assist your growth as a student and as an individual, in general? (150 words or more).
.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
1. PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS
AND PLEASE DON’T SAY GOOD WORK NICE FORMULA
OR SOMETHING LIKE THAT, BUT ACTULLY HE CAN USE.
THANK YOU.
Hartleys Function Code
Contains unread posts
Actions for Hartleys Function Code
Chad Hartley posted Nov 5, 2015 5:10 PM
Subscribe
This program will add an integer number and a decimal number
up to 2 decimal places. I have included notes in the code to
explain what each thing does. I hope I did this right. It compiles
successfully.
PseudoCode
Start
Declare int O1; Stands for Output1
O1=sum; Sum is the functions name
Int sum()
Declare variables
Int num1;
Float num2;
Write “Enter a number.”
Scanf num1
Write”Enter a decimal number.”
Scanf num2
Return num1+num2
end
C Code
#include <stdio.h>
2. int sum();//prototype
int main()//calling program
{
//Declare a varaiable
int O1;
O1=sum();//main is calling sum one time.
//if I listed this twice it would run the function 'sum'
twice.
// Example: if I add a new int (int O1, O2) and
declare O2 to
//be O2=sum then the function would run twice.
}
int sum ()//function 'sum'
{
int num1;// Declare intergers/variables
float num2;
printf("Enter a number.n");
scanf("%d",&num1);// Take first input and assign it
to num1
printf("Enter a decimal number.n");
scanf("%.2f",&num2);
//Can use the printf statement but when you are
calling an integer you can use the return.
//printf("The sum of %d, %d, is %d",
num1,num2,num1+num2);
return num1+num2;
}
ADD COMMENT HERE
3. Chaotic Function
Contains unread posts
Actions for Chaotic Function
Joshua Ray posted Nov 5, 2015 2:33 PM
Subscribe
float tmp
int i
function float chaos(float num)
{
for i < 20
num = 3.9*num*(1-num)
print num
}
main
print "Program description"
print "Request input btw 0 and 1"
tmp = input
chaos(tmp)
/*
* File: main.c
* Author: JaiEllRei
*
* Created on November 5, 2015, 2:04 PM
*/
#include <stdio.h>
#include <stdlib.h>
float chaos(float num);
int main(void)
{
float tmp;
4. printf("This program illustrates a choatic function. n");
printf("Input a number between 0 and 1: ");
scanf("%f", &tmp);
chaos(tmp);
}
float chaos(float num)
{
for (int i=0; i<20; i++){
/*Chaotic Formula*/
num = 3.9 * num * (1-num);
printf("%.3f n", num);
}
}
This program illustrates a choatic function.
Input a number between 0 and 1: .2
0.624
0.915
0.303
0.824
0.566
0.958
0.156
0.514
0.974
0.098
0.345
0.881
0.409
0.943
0.210
0.647
0.891
0.379
0.918
0.293
5. ADD COMMENT HERE
//MPH to KPH Conversion Function
Function KPHConv(value) as float
Set KPHConv = value*1.609344
End Function
Pseudocode for simple conversion program calling function
//Declare function
// MPH to KPH Conversion Function
Function KPHConv(value) as float
Set KPHConv = inMPH*1.609344
End Function
//Start Main
Main
//Declare variables
Declare inMPH, outKPH as Float
//Initialize variables
inMPH = 1.0f;
outKPH = 0.0f;
Print “Enter a positive value for Miles Per Hour (MPH) or ‘0’ to
exit the program
Input inMPH
//Loop while positive number
While inMPH > 0
//Call the MPH to KPH conversion function
Set outKPH = KPHConv(inMPH)
Print “inMPH miles per hour converts to outKPH kilometers per
hour”
6. Input next inMPH value
END While
// End of Main program
End program
C Code
#include <stdio.h>
//Week 6 Discussion
//Author: Ken Hartman
//CMIS 102 7380
//Prof. Stephen Grady
//This program will convert a value for Miles Per Hour (MPH)
//to Kilometers Per Hour (KPH)
/* MPH to KPH Conversion Function */
float KPHConv(float value)
{
return value*1.609344;
}
/* Start of Main program */
int main()
{
/* Declare variables to be used as float */
float inMPH;
float outKPH;
/* Initialize the variables needed */
inMPH = 0.0f;
printf("Enter a value for Miles Per Hour (MPH) or 0
to exit the program n");
scanf("%f", &inMPH);
/* Loop while a positive number is entered */
7. while (inMPH > 0.0)
{
outKPH = KPHConv(inMPH);
printf("n %.2f miles per hour converts to
%.4f kilometers per hourn",inMPH, outKPH);
scanf("%f", &inMPH);
}
return 0;
}
ADD COMMENT HERE!!!!
Joseph Sturdivant posted Nov 6, 2015 11:52 PM
Subscribe
#include <stdio.h>
/* First question output:
* High number = 4
* Low number = 7 [because gettable function receive and
return integer value]
*/
// function which looking for largest number in array
int largest(int array[], int size);
int function(int x) { return x; }
// main function
int main() {
int array[100]; // array where integers will be
stored
int count=0; // how many integers entered
int number; // represent another integer from
input
printf("High = %dn",function(7.8));
printf("Enter integers (0-terminate): n");
8. do {
scanf("%d",&number); // read one integer
array[count++]=number; // store it into array
} while(number!=0);
// print result of "largest" function
printf("Largest number is %dn",largest(array,count-1));
return 0;
}
int largest(int array[], int size) {
int i;
int max=array[0]; // largest value will be
stored here
for(i=1; i<size; i++) {
if(array[i]>max) max=array[i];
}
return max; // return largest value
}
ADD COMMENT HERE
Thomas Week 6- Solving Functions Discussion
Contains unread posts
Actions for Thomas Week 6- Solving Functions Discussion
Thomas Blass posted Nov 5, 2015 8:08 PM
Subscribe
1. Two arrays are provided, one float array and one integer
array. Functions are used to display the highest number from
the float array and the lowest number from the integer array.
9. The first function (gettable) will determine the lowest number
from the designated set in the “main” function. Then the second
function (getTable) will determine the highest number from the
designated set in the “main” function. So the expected output
for this pseudocode should be:
“High number= 4
Low number= 7.8”
The only possible error I see here is that there might be an error
with data types. It looks like when the “table1” array is defined
it is of the float data type, but the function pseudocode for
“getTable” is requesting integer data type. I thought that this
might cause an error when the function “getTable” is called
because of different data types.
Has anyone noticed the same or am I incorrect? Professor?
Class?
2. Algorithm and C code posted below! Took me a few tries to
figure out the best approach here.
//Pseudocode
//This program will accept input of positive integers terminated
by 0, then determine
//the largest integer that was entered
//Largest integer function
Declare function largest_number as integer
Declare largest,j as integer
Set j=0
Set largest=user_array element 0
While(j<100000)
If(largest<user_array[j]) then
Set largest=user_array[j]
End if
Increment j
End while
Return largest
End function
Main function
10. //Declare variables
Declare user_array[100000] as integer
Declare number, i, q, largest as integer
//Initialize the array
for(q=0;q<100000;q++)
user_array[q]=0
//Initialize variables
set i=0
//While loop for array entry
while(i<100000)
print “please enter a positive integer: “
input number
if(number==0) then
break
end if
set user_array[i]=number
increment i
//Print largest number
largest=largest_number(user_array)
print “The largest number is: “
return 0
End program
C code:
//
// main.c
// CMIS102 Solving Functions Discussion
// Created by Thomas Blass on 11/5/15.
#include <stdio.h>
#include <stdlib.h>
//largest integer function
int largest_number(int user_array[])
{
int largest,j;
j=0;
largest=user_array[0];
while(j<100000)
11. {
if(largest<user_array[j])
{
largest=user_array[j];
}
j++;
}
return largest;
}
int main()
{
//Declare variables
int user_array[100000];
int number,i,q,largest;
//Initialize array
for(q=0;q<100000;q++)
{
user_array[q]=0;
}
//Initialize variables
i=0;
//while loop for array entry
while(i<100000)
{
printf("Please enter a positive number: n");
scanf("%d",&number);
if(number==0)
break;
user_array[i]=number;
i++;
}
//Print largest number
largest=largest_number(user_array);
printf("The largest number is: %dn",largest);
return 0;
}
12. ADD COMMENT HERE
Vathavadee Smakpunt posted Nov 4, 2015 10:12 PM
Subscribe
Hello all;
1) The output I got is:
High number = 4
Low number =7.8
2) I created function to return maximum number from 3 values.
#include <stdio.h>
//Set getMax function from array
int getMax(int number[])
{
//Declare integer i, max
int i, max;
//Set value for max
max = number [0];
//Set i to zero
i=0;
//Set condition while loop
while (i< 3)
{
scanf("%d", &number[i]);
if(max<number[i])
{
max=number[i];
}
i=i+1;
}
return max;
}
main ()
{
/*Declare number[3], max, and i as integer*/
int number[3], max, i;
13. /*Set value for max*/
max = getMax(number[0]);
/*Print result*/
printf("Max is =%dn",max);
}
ADD COMMENT HERE