Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for lebron

I have something to share with you guys if you can help me out.. Here is an algorithm to print out a pyramid of numbers: [I][B]define totalRows to be how many rows define columnWidth to be how many characters in each column for currentRow in range 0 up to (but …

Member Avatar for TrustyTony
0
156
Member Avatar for lebron

'''check addition''' from random import randint def checkAddition( a, b ): ans = int(raw_input("What is %d + %d ? " % (a,b))) if ans == a + b: return True else: return False def main(): x = randint(1,100) y = randint(1,100) if checkAddition(x,y): print "Correct" else: print "Incorrect" main()[B] [I]This …

Member Avatar for Kruptein
0
99
Member Avatar for lebron

This is problem part of my assesment I've done but my assesment says use a function to calculate the fuel cost and function should take 3 parameters : distance,economy(as litres per 100 kms) , and fuel price per litre. The function should return the total cost of trip. Could you …

Member Avatar for lebron
0
4K
Member Avatar for lebron

Hi, I am very new to Perl and have no knowledge to initiate this through programming view. I am in need of help with adding a new user in UNIX using Perl programming . If you know my problem could you please assist me and share your knowledge for doing …

Member Avatar for lebron
0
91