Problem Solved
Thx to all the users participated in my post.
:D
Type: Posts; User: noobkiddo
Problem Solved
Thx to all the users participated in my post.
:D
nicoqwerty
i tried to follow your example but i got 2 errors
#include <iostream>
using namespace std;
struct Carpet {
float lengthInFeet;
will it be the same as your's outcome i mean look a like your's?
is my problem statement needs a user to type the length and width
when running the program?
now I understand a bit my only concern is
what will be the outcome looks?
nicoqwertyu
according to your example
is that the format of the answer through my given problem statement?
or is that what my problem statement will look like, the result?
will this work?
Carpet myCarpet;
myCarpet.lengthInFeet=5.62;
myCarpet.widthInFeet=2.21;
if i follow your example where should i put this:
float displayArea(float length, float width)
{
float area;
area = length * width;
return area;
the computation thingy
will this surely work??
i dont want to try all over again, my brain is bleeding right now
even my nose my ears my shoulder my head.. T_T until when do i suffer
this maybe i should call my...
i still don't get it even though i read and understands what it says, I'm really really tired to get the correct solution and syntax, I've tried everything still no luck for me, but thanks people for...
did the problem statement needs a user to input its length and width??
im already confused what to do Y_Y
yea i got the but in a form of something like this:
1004F01
is this the right answer?
#include <iostream>
using namespace std;
struct Carpet
{
float lengthInFeet, widthInFeet;
};
float displayArea(float length, float width)
#include <iostream>
using namespace std;
struct Carpet
{
float lengthInFeet, widthInFeet;
};
float Area (float l, float w)
{
is my statement correct?
#include <stdio.h>
using namespace std;
struct Carpet
{
float lengthInFeet, widthInFeet;
};
what i mean is how and where do i start answering the problem statement?
can anyone create the beginning part and I will try to continue and hopefully finish it.
can u site an example of struct and function base on my given problem? so that i understand it?
Can anyone know how to answer this problem:
Create a structure named Carpet that has two public data members: lengthInFeet and widthInFeet. Write a main() function that instantiates a Carpet...