Programming

Programming Questions? Ask a Programmer for Answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Programming
This answer was rated:

hello need a pseudocode personne

hello need a pseudocode personne
Ask Your Own Programming Question
Answered in 5 minutes by:
10/17/2013
ehabtutor
ehabtutor, Computer Software Engineer
Category: Programming
Satisfied Customers: 1,344
Experience: Bachelor of computer science, 5+ years experience in software development, software company owner
Verified

ehabtutor :

Welcome to Just answer. My Name isXXXXX and i will be assisting you today.

ehabtutor :

can you please post the full requirements of the pseudo code needed?

Customer:

hello

ehabtutor :

hi there

ehabtutor :

It would be my pleasure to help you on your assignment

Customer:

Hi I am french so it was hard for me to cut and paste what i did so far

Customer:

I am a student in programming

ehabtutor :

great

ehabtutor :

I hope you are doing well learning programming, and i would love to be your assistant on any upcoming assignments

Customer:

I am doing a program in pseudo code where a client will enter name, first name, address telephone number and a postal code

ehabtutor :

ok and then

Customer:

so My program starts with the usual write "what is your first name" then asign the answer to a "first name variable"

Customer:

the same with adres and the rest

ehabtutor :

ok understood

ehabtutor :

next after reading the input from the user

Customer:

for name, first name and adresse and address I am asked for a validation if there is stuff written then it is validated

Customer:

i did

Customer:

now for the postal code I am asked to validate with an extract fonction in the first position extrait the caractère and then is it a number or a letter

ehabtutor :

so the first letter must be a character

ehabtutor :

then the rest is either a number or a letter right?

Customer:

so i did in my main pseudocode called for the user to enter the postal code then call for a fonction called IsItAPostalCode in which i want to extrait all 6 caractères in orther to check if number or letter alternatively from position 0 to 5 since a postal code has 6 caracteres

Customer:

you are correct

Customer:

in french and may be you can figure out I started like this:

Customer:

FONCTION estCodePostalValide(extraire (CARACTER car, 0, 1))

Customer:

extraire = extract

Customer:

estCodePostalValide = PostalCodeIsValide

Customer:

Iam a bit mixed to know whether i do this six time in 6 different function

Customer:

do I do a boucle for

Customer:

how do I alternate

Customer:

I am not asklee to programme the isitaletter or isit a number those booleen I can just use in the return back to the main program

ehabtutor :

let me check for a minute

ehabtutor :

ok let me tell you this. but let me know if you already studied arrays or not yet

Customer:

not yet

Customer:

It is my first course in programmin

Customer:

g

ehabtutor :

let me explain this strings are already array that you can use loops to iterate through

Customer:

I have seen for boucles, do until,

Customer:

alternative if if-then-else

Customer:

tables in one dimension

Customer:

imbricked ifs

Customer:

coutre in boucles for

ehabtutor :

so i would do it this way. i'll pass the string to the function then i will use for to loop on the six characters and within the loop i would check using if then else if the character is letter or number

Customer:

coutres with for and i++

Customer:

ok

Customer:

so i would do the fonction ispostalcodevalide()

ehabtutor :

yes but pass the variable with the postal code so for example

Customer:

what goes in the parenthèses?

ehabtutor :

ispostalcodevalide(String Postal)

Customer:

caractère car goes in the () right?

ehabtutor :

we will use string instead

ehabtutor :

to pass the whole string to the function

Customer:

caractère is the type ofso in english is string

Customer:

ok

ehabtutor :

no there is a type char

Customer:

STARt

ehabtutor :

which is a single character

Customer:

OK

ehabtutor :

String is an array of characters by default

Customer:

SO:

Customer:

can you help with starting the code please

ehabtutor :

yes

ehabtutor :

i will type it now

Customer:

START

ehabtutor :

ispostalcodevalide(String Postal)

ehabtutor :

For (i=0, i<6 , i++)

ehabtutor :

no i will restart again

ehabtutor :

ispostalcodevalide(String Postal)

ehabtutor :

If ( Postal(0) is not char)

ehabtutor :

then return False

ehabtutor :

For (i=1, i<6, i++)

ehabtutor :

If (Postal(i) is not char) then

ehabtutor :

If (Postal(i) is not number) then

ehabtutor :

return False

ehabtutor :

End If

ehabtutor :

End For

Customer:

I do need to extract

ehabtutor :

what is extract?

Customer:

I need to extrait from the string the position zero take take out the caractère and check if it is a letter

Customer:

then the second one and check if it is a number

ehabtutor :

what i did is use a loop to iterate on the string

ehabtutor :

using postal(0) is the same as extracting

Customer:

the teacher does not ask us to program the is it a number or is it a letter

Customer:

fonction

Customer:

but he wants us to use extract

ehabtutor :

this are not functions it is just an if statement

ehabtutor :

ok we can use extract

ehabtutor :

instead of postal(0)

ehabtutor :

so it will be extract(character, 0)

ehabtutor :

then instead of postal(i) put extract(character,i)

Customer:

yes

ehabtutor :

ok did you get it now, or you want me to re write it for you

Customer:

I need to try if I got it

ehabtutor :

sure go on

Customer:

I get back when done is that it?

ehabtutor :

you can bookmark this page.

ehabtutor :

and you need to use the ratings to leave me a positive rating as this is the only way i get paid

ehabtutor :

are you there?

Customer:

yes

Customer:

I am writing the code

ehabtutor :

ok

Customer:

then going to cut and paste it for you

ehabtutor :

don't forget to rate my answer after you are done

ehabtutor :

sure take your time

Customer:

yes when you will let me know if everything is ok

Customer:

once I pay I want to know that what I did is fine

ehabtutor :

you can paste the code for me here and i will check it and tell you if there are any problems, then you can rate my answer. and if you need any further help after you rate my answer i will continue to help you

Customer:

OK

Customer:

So far in my class all we did was little function and all and now I have to put them with main smaller and intertwine them so that the whole program works my problem I understand the logic steps to what I am doing but I do not know how to actually write it

ehabtutor :

I am here to help you anytime. If you need me just post a question and start it with "**** TO Ehab Tutor Only ***" to make sure it comes to me

ehabtutor :

I know a little french by the way.

Customer:

ok this will take me not just a minute

ehabtutor :

take your time i will be doing some other stuff.

Customer:

can I call you or you call me collect? where would you be calling from

Customer:

can you call me collect it is donna be faster

ehabtutor :

collect what?

Customer:

collect call

ehabtutor :

I am sorry i am not allowed to do so

Customer:

they ask

ehabtutor :

This is as per just answer rules

Customer:

my phone number when i started the chat

Customer:

I will pay no worry

Customer:

I will leave the window opened

Customer:

and then do the top smilleys

ehabtutor :

I understand but i am not allowed to use a phone for conversation, as i am not allowed to exchange any personal data with the client

ehabtutor :

ask me if you want anything

ehabtutor :

you were supposed to write the code and show it to me. what is taking you so long?

Customer:

PROGRAMME PRINCIPAL


CARACTERE prenom, nom, nodetel, adresse, codepostal, bois, Brique, pierre
REEL surface


DEBUT
ECRIRE "Veuillez entrer votre prénom"
LIRE prenom
TANT QUE !(estRempli(prenom)) FAIRE
ECRIRE "Le champs est vide, veuillez entrer votre prénom"
LIRE prenom
FIN TANT QUE
ECRIRE "Veuillez entrer votre nom"
LIRE nom
TANT QUE !(estRempli(nom)) FAIRE
ECRIRE "Le champs est vide, veuillez entrer votre nom"
LIRE nom
FIN TANT QUE
ECRIRE "Veuilles entrer votre adresse"
LIRE adresse
TANT QUE !(estRempli(adresse)) FAIRE
ECRIRE "Le champs est vide, veuillez entrer votre adresse"
LIRE adresse
FIN TANT QUE
ECRIRE "Veuillez entrer votre code postal"
LIRE codepostal
TANT QUE !(estCodePostalValide) FAIRE
ECRIRE "Le code postal n'est pas valide, veuillez essayer de nouveau"
LIRE codepostal
FIN TANT QUE





FONCTION estRempli(CARACTERE chaine)


BOOLEEN resultat
resultat = FAUX
SI chaine != null ALORS
resultat = VRAI
FIN SI
RETOURNER resultat
FIN

Customer:

it is in french

Customer:

Iwrote that so far

Customer:

first is the main

Customer:

first name

Customer:

you don't have the indentation

Customer:

the one starting with function is thé is there something in the field of the name of fist name and address

ehabtutor :

let me check

Customer:

andI do until there is something at this stage the teacher does not ask us more than is there something in the field

Customer:

TANT QUE is DO UNTIL

Customer:

FIN = END

Customer:

DEBUT = START

Customer:

ECRIRE = WRITE

ehabtutor :

:)

Customer:

LIRE = READ OR ASIGN the variable

ehabtutor :

i know a bit of french

ehabtutor :

but thanks anyways

Customer:

Forgot start for the first function

ehabtutor :

yeah i was just going to comment that

ehabtutor :

Faire is ?

Customer:

FONCTION estCodePostalValide(CARACTERE cp)


START
POUR i de 0 à 5 bond de 1 FAIRE
extraire(CARACTERE chaine, i, 1)
SI


 

Customer:

DO

Customer:

POUR i de 0 à 5 bond de 1 is FOR ( i=0, i<6, i++)

ehabtutor :

TANT QUE !(estCodePostalValide(codepostal)) FAIRE
ECRIRE "Le code postal n'est pas valide, veuillez essayer de nouveau"
LIRE codepostal
FIN TANT QUE

ehabtutor :

you forgot to pass the variable codepostal to the function

Customer:

it is done in the main programm

ehabtutor :

yeah i mean in the main program

ehabtutor :

codepostal is missing in the call for the function

Customer:

I call it cp

Customer:

we were told that when we call the fonction

ehabtutor :

I understand you call it cp in the function definition

ehabtutor :

i mean you forgot to pass it to the function call

ehabtutor :

you need to change this line: TANT QUE !(estCodePostalValide) FAIRE

ehabtutor :

to this line: TANT QUE !(estCodePostalValide(codepostal)) FAIRE

Customer:

we use it right after the tant que i put ! in front to say that IF it is not valide tell the user that it is not valid and to enter again a postal code asign it and call the function aagain

ehabtutor :

I really understand

ehabtutor :

please concentrate with me

Customer:

they when in parenthisis it is for CALLING the fonction

Customer:

I hate pseudo code it is too large

ehabtutor :

don't worry just change the line i gave you in the main function

Customer:

oki

ehabtutor :

let me explain it

ehabtutor :

here for example

ehabtutor :

TANT QUE !(estRempli(nom)) FAIRE

ehabtutor :

you are passing the variable nom to the function estRempli

Customer:

I gotit sorry

ehabtutor :

this is the same that i did for the other function

ehabtutor :

everything else in the main function is perfectly ok

Customer:

I forgot to write codepostal

Customer:

hère we go:

Customer:

TANT QUE !(estCodePostalValide(codepostal)) FAIRE
ECRIRE "Le code postal n'est pas valide, veuillez essayer de nouveau"
LIRE codepostal
FIN TANT QUE

ehabtutor :

exactement

Customer:

right?

ehabtutor :

c'est vrai

ehabtutor :

now with the function

Customer:

they tell us to use extrait(CARACTERE chaine, pos i of start, then 1 for the number of caractere to take out of the string)

Customer:

then use

ehabtutor :


FONCTION estCodePostalValide(CARACTERE cp)


START
POUR i de 0 à 5 bond de 1 FAIRE
extraire(CARACTERE chaine, i, 1)
SI


 



Customer:

isitanumber(@[email protected]) return false

ehabtutor :

ok first of all you need to check character 0 before the loop

Customer:

oki

ehabtutor :

since the testing condition is different

ehabtutor :

so you need to do the following

ehabtutor :

extraire(CARACTERE cp, 0, 1)

ehabtutor :

and take care you are using the variable chaine and not cp

ehabtutor :

you need to define a character variable that you assign to the value of this extraire function

ehabtutor :

so for example: caractere a

ehabtutor :

a = extraire(caractere cp,0 ,1)

ehabtutor :

and i think the call should be extrarire(cp, 0,1)

ehabtutor :

are you following?

Customer:

yes

ehabtutor :

great

ehabtutor :

and now you need to do the ischaracter check on the variable a

ehabtutor :

then we will have the loop: POUR i de 1 à 5 bond de 1 FAIRE
extraire(cp, i, 1)
SI

Customer:

they told us we do not need to code the following functions

ehabtutor :

ok then just call the function as you did with extrarire

Customer:

isitanumber("A") return false

Customer:

so I asign the extracted caractere to a variable

ehabtutor :

exactly

ehabtutor :

but you need to check if it is not a character

ehabtutor :

or if this check is sufficient then no problem

Customer:

FONCTION estCodePostalValide(CARACTERE cp)


START
extraire(CARACTERE cp, 0, 1)
LIRE a
SI estUneLettre("a")
RETOURNER Vrai
SINON
RETOURNER FAUX
FIN SI

ehabtutor :

bravoo

Customer:

Do I code this 5 more times

ehabtutor :

no

ehabtutor :

you need now to add the for loop

ehabtutor :

and within the for loop, you need to do 2 checks this time

ehabtutor :

nested ifs

Customer:

after the fist one

ehabtutor :

yeah keep the first part as is, its perfect

ehabtutor :

now next to it you need to have the for loop run from 1 to 5

ehabtutor :

as you already checked character 0

ehabtutor :

you can use this

ehabtutor :

IF ( a is a number or a is a character ) then

ehabtutor :

return vrai

ehabtutor :

else return false

ehabtutor :

this has to be within the for loop, so each time we loop we check those conditions, so in case any of the characters is not a letter or a number it will return false

ehabtutor :

on another though we should use another type of loop than the for loop

ehabtutor :

since once we find a character that is not a letter or a number we should break the loop

ehabtutor :

also you cannot use return vrai in the first part, because we don't want to return once we find the first character is a letter

ehabtutor :

we need to check the rest

ehabtutor :

so rather define a boolean variable

ehabtutor :

and assign to it vrai ou fauz

ehabtutor :

faux

Customer:

FONCTION estCodePostalValide(CARACTERE cp)


START
extraire(CARACTERE cp, 0, 1)
LIRE a
POUR i de 1 à 5 bond de 1 FAIRE
SI estUneLettre("a")
RETOURNER Vrai
SINON
RETOURNER FAUX
FIN SI
FIN POUR

Customer:

a postal code has an order

Customer:

G2B2L! for example

Customer:

the ! is a number

Customer:

G2B2L1

ehabtutor :

no this not right at all

Customer:

shoot

ehabtutor :

FONCTION estCodePostalValide(CARACTERE cp)


START


Caractere a


Boolean Resultant
a= extraire(cp, 0, 1)
Si estUneNombre("a")


Resultant = Faux


Retournet Resultant
POUR i de 1 à 5 bond de 1 FAIRE


a=extraire(cp, i, 1)


 


SI estUneLettre("a") or estUneNombre("a")
Resultant = Vrai
SINON
Resultant = Faux


Retournant Resultant
FIN SI
FIN POUR


 

ehabtutor :

this is the correct one

ehabtutor :

did you get it?

Customer:

Yes I think by looking it over it will be fine

Customer:

not assimilated it yet but

Customer:

should be ok

ehabtutor :

just re type the french words

Customer:

the only thing is that a postal code has an order

ehabtutor :

hmmm

Customer:

letter nimber, letter, number, letter, number

ehabtutor :

in this case you won't be using a loop

ehabtutor :

you will have to check them one by one

ehabtutor :

as we did with the first one

Customer:

allright tThat is why I did ask if I did that 5 more times

ehabtutor :

Boolean Resultant
a= extraire(cp, 0, 1)
Si estUneNombre("a")


Resultant = Faux


Retournet Resultant

ehabtutor :

yes but you will return only if it is false

Customer:

no "FOR"

ehabtutor :

you cannot return if it is vrai

ehabtutor :

yes no for in this case

Customer:

when I go bak to my main

Customer:

at some point in time

Customer:

I have to see that let's ay I altérante with

Customer:

isitaletter

Customer:

vrai

Customer:

istitanumber vra

Customer:

if 6 vrai then the message is postal code valide

ehabtutor :

if no faux then its for sure vrai

Customer:

lol

ehabtutor :

you don't need to check if it is right.

ehabtutor :

you just need to check if any character doesn't go with the rule

ehabtutor :

a= extraire(cp, 0, 1)
Si estUneNombre("a")


Retournet Faux


a= extraire(cp,1,1)


Si estUneLetter("a")


Retournet Faux

ehabtutor :

and so on

ehabtutor :

did you get it?

Customer:

ONCTION estCodePostalValide(CARACTERE cp)


START
CARACTERE a
BOOLEEN resulat
resultat = Faux
extraire(CARACTERE cp, 0, 1)
LIRE a
SI estUneLettre("a")
RETOURNER Vrai
SINON
RETOURNER FAUX
FIN SI
extraire(CARACTERE cp, 1, 1)
LIRE a
SI estUnNombre("a")
RETOURNER Vrai
SINON
RETOURNER FAUX
FIN SI
extraire(CARACTERE cp, 2, 1)
LIRE a
SI estUneLettre("a")
RETOURNER Vrai
SINON
RETOURNER FAUX
FIN SI
extraire(CARACTERE cp, 3, 1)
LIRE a
SI estUnNombre("a")
RETOURNER Vrai
SINON
RETOURNER FAUX
FIN SI
extraire(CARACTERE cp, 4, 1)
LIRE a
SI estUneLettre("a")
RETOURNER Vrai
SINON
RETOURNER FAUX
FIN SI
extraire(CARACTERE cp, 3, 1)
LIRE a
SI estUnNombre("a")
RETOURNER Vrai
SINON
RETOURNER FAUX
FIN SI

Customer:

the last one is 5

ehabtutor :

you don't use retourner vrai

ehabtutor :

did you check my last post

ehabtutor :

also lire a, is reading a from the user, which is not the case

ehabtutor :

we are returning the value of the extract function into the variable a

ehabtutor :

that's why i use a =extract ...

ehabtutor :

are you there?

Customer:

yes

ehabtutor :

This was my last post:


a= extraire(cp, 0, 1)
Si estUneNombre("a")


Retournet Faux


a= extraire(cp,1,1)


Si estUneLetter("a")


Retournet Faux

Customer:

trying to understand the only return false by stating at first that it is false so it is like using a simple if with no else right

ehabtutor :

you can alter this a bit by having the variable Resultant and set it initially to vrai

ehabtutor :

Boolean Resultant = vrai

Customer:

i am getting close i need to understand what i am doing

ehabtutor :

if any of the conditions are false the function will return immediatley

ehabtutor :

the only point i was missing is if all is ok we have to return vrai for the condition to be met

ehabtutor :

so we can have the Boolean Resultant =vrai

ehabtutor :

and have a retournat resultant at the end of the function

ehabtutor :

and within each if have Resultant = faux Retournet Resultant

ehabtutor :

did you get it this way

Customer:

FONCTION estCodePostalValide(CARACTERE cp)


CARACTERE a
BOOLEEN resultat
resultat = FAUX
DEBUT
extraire(CARACTERE cp, 0, 1)
LIRE a
SI estUneLettre("a")
RETOURNER Vrai
FIN SI
extraire(CARACTERE cp, 1, 1)
LIRE a
SI estUnNombre("a")
RETOURNER Vrai
FIN SI
extraire(CARACTERE cp, 2, 1)
LIRE a
SI estUneLettre("a")
RETOURNER Vrai
FIN SI
extraire(CARACTERE cp, 3, 1)
LIRE a
SI estUnNombre("a")
RETOURNER Vrai
FIN SI
extraire(CARACTERE cp, 4, 1)
LIRE a
SI estUneLettre("a")
RETOURNER Vrai
FIN SI
extraire(CARACTERE cp, 5, 1)
LIRE a
SI estUnNombre("a")
RETOURNER Vrai
FIN SI
FIN

Customer:

i alternat from letter and nombre

Customer:

at the end of the if

ehabtutor :

:(

ehabtutor :

you don't read my comments

Customer:

When i do all the return vrai

ehabtutor :

you cannot return vrai, this means that once you will find the first letter is ok, you will return and not check the rest

ehabtutor :

its the other way aroung

ehabtutor :

around

Customer:

i am to do quick sorry

ehabtutor :

please concentrate

Customer:

do your stuff i am looking

Customer:

yes

Customer:

5 minutes

ehabtutor :

FONCTION estCodePostalValide(CARACTERE cp)


CARACTERE a
BOOLEEN resultat
resultat = Vrai
DEBUT
a = extraire(CARACTERE cp, 0, 1)
SI estUneNombre("a")


resultat = Faux
RETOURNER resultat
FIN SI
a= extraire(CARACTERE cp, 1, 1)
SI estUnLettre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 2, 1)
SI estUneNombre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 3, 1)
SI estUnLettre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 4, 1)
SI estUneNombre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 5, 1)
SI estUnLettre("a")
resultat = Faux
RETOURNER resultat
FIN SI
FIN

ehabtutor :

Here you are this is the correct version

Customer:

FONCTION estCodePostalValide(CARACTERE cp)


CARACTERE a
BOOLEEN resultat
resultat = FAUX
DEBUT
extraire(CARACTERE cp, 0, 1)
LIRE a
SI estUneLettre("a")
resultat = Vrai
FIN SI
RETOURNER resulat
extraire(CARACTERE cp, 1, 1)
LIRE a
SI estUnNombre("a")
resultat = Vrai
FIN SI
RETOURNER resulat
extraire(CARACTERE cp, 2, 1)
LIRE a
SI estUneLettre("a")
resultat = Vrai
FIN SI
RETOURNER resulat
extraire(CARACTERE cp, 3, 1)
LIRE a
SI estUnNombre("a")
resultat = Vrai
FIN SI
RETOURNER resulat
extraire(CARACTERE cp, 4, 1)
LIRE a
SI estUneLettre("a")
resultat = Vrai
FIN SI
RETOURNER resulat
extraire(CARACTERE cp, 5, 1)
LIRE a
SI estUnNombre("a")
resultat = Vrai
FIN SI
RETOURNER resulat
FIN

Customer:

no oui the return resultat is before the fin si

ehabtutor :

can't understand what you mean really

Customer:

I was trying to hurry the ''RETOURNER résultat" goes before each FIN SI

ehabtutor :

FONCTION estCodePostalValide(CARACTERE cp)


CARACTERE a
BOOLEEN resultat
resultat = Vrai
DEBUT
a = extraire(CARACTERE cp, 0, 1)
SI estUneNombre("a")


resultat = Faux
RETOURNER resultat
FIN SI
a= extraire(CARACTERE cp, 1, 1)
SI estUnLettre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 2, 1)
SI estUneNombre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 3, 1)
SI estUnLettre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 4, 1)
SI estUneNombre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 5, 1)
SI estUnLettre("a")
resultat = Faux
FIN SI
FIN

Customer:

now in my main

ehabtutor :

FONCTION estCodePostalValide(CARACTERE cp)


CARACTERE a
BOOLEEN resultat
resultat = Vrai
DEBUT
a = extraire(CARACTERE cp, 0, 1)
SI estUneNombre("a")


resultat = Faux
RETOURNER resultat
FIN SI
a= extraire(CARACTERE cp, 1, 1)
SI estUnLettre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 2, 1)
SI estUneNombre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 3, 1)
SI estUnLettre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 4, 1)
SI estUneNombre("a")
resultat = Faux
RETOURNER resultat
FIN SI
a = extraire(CARACTERE cp, 5, 1)
SI estUnLettre("a")
resultat = Faux


FIN SI


RETOURNER resultat


FIN


 

ehabtutor :

this is the one, i moved the last retourner befor the last fin

ehabtutor :

to return in all cases

ehabtutor :

You don't need to do anything in the main

Customer:

my main is allright because if not a valid postal code

Customer:

need to give the message to try again and enter a valid one

ehabtutor :

let me double check

ehabtutor :

yes its ok this way, since it checks if not true

Customer:

my main is allright as long as initially résultat is initialized true?

ehabtutor :

i got confused

Customer:

I will be all right so do I rate now

ehabtutor :

yes please, A bonus will also be highly appreciated. I spent more than 2 hours with you

Customer:

I know I am very greatful

ehabtutor :

If you need any help in upcoming assignments , just post "To Ehab TUtor Only" at the start of your question

ehabtutor :

and i will be there for you

Customer:

it is just that writing takes lon that is why I did suggest the collect call

ehabtutor :

wouldn't have been easy with coding

ehabtutor :

writing code is much more convinient

Customer:

after reading week we do JAVA I am in web programming integration

ehabtutor :

I can help you in Java, vb, c sharp , c++ and database questions

ehabtutor :

as well as pseudo code of course

Customer:

I am nearly fifty got super grades so far but as I said I understand the logic of the programme it is the writing

ehabtutor :

I am sure you will do well

Customer:

a bit more touche I like the languages because you if it works but pseudo codes is larger

Customer:

my teacher is difficult

Customer:

Thank you

ehabtutor :

You're welcome anytime

Customer:

can I cut and paste some of it

Customer:

so I can get back to it

ehabtutor :

you can bookmark the whole chat

ehabtutor :

so you can open it anytime. it won't be removed

Customer:

thank you

ehabtutor :

have a wonderful day

Customer:

i put the highest smile how do i proceed with bonus cause it says the chat will close

ehabtutor :

use the ratings under the answer to do the rating, you will then be prompted to add bonus which will be appreciated

Customer:

thank you

ehabtutor
ehabtutor, Computer Software Engineer
Category: Programming
Satisfied Customers: 1,344
Experience: Bachelor of computer science, 5+ years experience in software development, software company owner
Verified
ehabtutor and 87 other Programming Specialists are ready to help you
Ask your own question now
Ask ehabtutor Your Own Question
ehabtutor
ehabtutor
ehabtutor, Computer Software Engineer
Category: Programming
Satisfied Customers: 1,344
1,344 Satisfied Customers
Experience: Bachelor of computer science, 5+ years experience in software development, software company owner

ehabtutor is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

7,131 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

1,344 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

800 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
I'm trying to make a python object oriented checkers game,
I'm trying to make a python object oriented checkers game, but I'm lost. I'm trying to find a source code for a python checkers game. Is there any way you would be able to help me … read more
George Sibiya
George Sibiya
PhD
216 satisfied customers
Not sure how to explain this...but I have an excel report
Hi! Not sure how to explain this...but I have an excel report with a field name for first name and one for last name. The report contains multiple people from the same household, one row for each. Eac… read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
800 satisfied customers
Wanting to insert function into a invoice I am building on
wanting to insert function into a invoice I am building on excel, how to add a subtraction … read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
800 satisfied customers
How do I get my restored Microsoft Wordpad .rtf files to
How do I get my restored Microsoft Wordpad .rtf files to stop coming up in Landscape orientation. I want them to normally come up in Portrait orientation? (Tech Viet helped me a few days ago.)… read more
David L.
David L.
Bachelor\u0027s Degree
6 satisfied customers
I am looking for help understanding the content of some
Hi. I am looking for help understanding the content of some files. Ideally, I could have someone explain what certain things mean so that I am not making assumptions. The files are in HTML, JS, SQL, a… read more
George Sibiya
George Sibiya
PhD
216 satisfied customers
Searching for a tutorial on WordPress theme ColorMag Pro -
Searching for a tutorial on WordPress theme ColorMag Pro - some I have found have no sound and or the narration isn't understandable. … read more
RussellA
RussellA
Solutions Architect
Bachelor\u0027s Degree
123 satisfied customers
VWorker01.pyw import sys; print (sys.version) n = 4; m = 2 M
vWorker01.pyw import sys; print (sys.version) n = 4; m = 2 M = n * [n * [0.0]] print("show M contents: ") print (M) for i in iter(range(m,n)): M[i][i] = 1.0 print ("show M contents: ") print(M)# For c… read more
George Sibiya
George Sibiya
PhD
216 satisfied customers
I must have messed up something on my
I must have messed up something on my oshaukutaoutdoors.wordpress.com site as I can't get into it. I am hoping you can help me out … read more
RussellA
RussellA
Solutions Architect
Bachelor\u0027s Degree
123 satisfied customers
Is there a way I can get Microsoft excel to stop using the
is there a way I can get Microsoft excel to stop using the scientific notation and altering my data? for example, some numbers shows up as 75645+0545. I need this to stop and to get it to stop saving … read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
800 satisfied customers
I want to remove search items from my gmail search list the
i want to remove search items from my gmail search list the case is .... when i search something in gmail it shows me a list o messages, but i already deleted these messages.. now i don't want that th… read more
Pete
Pete
Engineer
Bachelor\u0027s Degree
1,124 satisfied customers
I need the source code or the library in Java that defines
I need the source code or the library in Java that defines OUAnimatedApplication and OUColour … read more
George Sibiya
George Sibiya
PhD
216 satisfied customers
I work in computer/network security. In order to really
I work in computer/network security. In order to really become an expert in that field, I need to have an intimate understanding of the C programming language. This helps to do tasks like code auditin… read more
Martin
Martin
Network Engineering Diploma
141 satisfied customers
CGI/PERL I need help with a project that has the guidelines
CGI/PERL I need help with a project that has the guidelines listed. if it can be done within a week , I will be overly... appreciative.… read more
George Sibiya
George Sibiya
PhD
216 satisfied customers
My excel files are locked for editing I am the only user.
my excel files are locked for editing I am the only user … read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
433 satisfied customers
I have a financial table using positive and negative
I have a financial table using positive and negative numbers, randomly. I have an equations two find the balance, but Excel is not using the signage of the numbers. … read more
Kris R
Kris R
IT Manager
Computing
2,606 satisfied customers
Not able to use Word and Excel. Have not since Windows 10
Have not since Windows 10 was installed in Jan. 2016 … read more
Jason Jones
Jason Jones
AAS Information Technology
6,320 satisfied customers
I have mapped a domain to my wordpress site and I wish to
Hi pearl - i have mapped a domain to my wordpress site and I wish to change it - do I need to pay for this to happen? … read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
433 satisfied customers
Copy & paste cell comments from one worksheet to another
Copy & paste cell comments from one worksheet to another with vba excel. Please find attached detailed reference workbook. Solution with vba excel only.… read more
Ingo U
Ingo U
Master\u0027s Degree
357 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x