Well these are simple if you know the logic for the questions above!!! say I'll do 2 as an example and you do the rest!!!
FLOWCHART: See ,I can't draw shapes here, I hope you know them;
start [in somewhat oval shape]
read b,h [in a parallelogram]
a1=1/2*(b*h) //you can use an ordinary multiplication symbol too!!!
a2=b*h [both inside a rectangle]
print a1,a2 [in a parallelogram]
stop [in somewhat oval shape]
PROGRAM:
#include<iostream.h>
main()
{
int a1,a2,b,h;
cout<<"Enter breadth and height :\n";
cin>>b>>h;
a1=1/2*(b*h);
a2=b*h;
cout<<" \n Area of triangle :"<<a1;
cout<<" \n Area of rectangle :"<<a2;
}
ALGORITHM:
step 1: start by including header file <iostream.h>
step 2: declare integer variables b-for breadth,h-for height,a1-for triangle's area,a2-for rectangle's area
step 3: Accept input values for b and h from the user.
step 4: Calculate area of triangle as a1=1/2*(b*h)
step 5: Calculate area of rectangle as a2=b*h
step 6: Display a1 and a2
step 7: stop
Hope this helped you!!!