Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 can any1 help me with this question in flowchart

views
     
TSunknower P
post Oct 11 2020, 11:28 PM, updated 6y ago

New Member
*
Probation
9 posts

Joined: Oct 2020


https://imgur.com/a/YL931us

can any1 help me with this question in flowchart
frantic912
post Oct 12 2020, 12:14 AM

~ Demn ~
*****
Senior Member
711 posts

Joined: Dec 2008
From: Putrajaya



c++...?
TSunknower P
post Oct 12 2020, 01:22 AM

New Member
*
Probation
9 posts

Joined: Oct 2020


QUOTE(frantic912 @ Oct 12 2020, 12:14 AM)
c++...?
*
in flowchart, but python
frantic912
post Oct 12 2020, 09:16 AM

~ Demn ~
*****
Senior Member
711 posts

Joined: Dec 2008
From: Putrajaya



i think this suitable for your case

user posted image
iSean
post Oct 12 2020, 06:48 PM

iz old liao.
*******
Senior Member
4,496 posts

Joined: Jun 2011





int i = 0;

if (x < 11)
{
i = i + 2;
cout >> i ;
}


elif (x < 16)
{
i = i + 2;
cout >> i ;
}
}

This post has been edited by iSean: Oct 12 2020, 06:48 PM
Ebony & Ivory
post Oct 16 2020, 12:40 AM

Enthusiast
*****
Senior Member
959 posts

Joined: Jan 2016
homework?

draft your pseudocode, then you can prepare the flowchart.

give you some hints, loop & check whether a value is an even number.
TSunknower P
post Oct 16 2020, 06:27 PM

New Member
*
Probation
9 posts

Joined: Oct 2020


QUOTE(iSean @ Oct 12 2020, 06:48 PM)
int i = 0;

if (x < 11)
{
  i = i + 2;
  cout >> i ;
}
elif (x < 16)
{
  i = i + 2;
  cout >> i ;
}
}
*
ok thanks

 

Change to:
| Lo-Fi Version
0.0151sec    0.82    5 queries    GZIP Disabled
Time is now: 26th November 2025 - 05:22 PM