home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Need Help in C programming!

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2629
Discussions: 201,005, Posts: 2,380,074, Members: 246,372
Old July 6th, 2007, 10:47 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: May 2006
Posts: 4
Need Help in C programming!

Hey guys..

I have got a homework and it says the following:

Write a C program in which you read in one 3x3 array A and then multiply that array by a letter "a"

I tried doing that but I have difficulty multiplying a character by a letter!

Any Help would definitely be appreciated!

Thanks..
Ramimania is offline   Reply With Quote
Old July 6th, 2007, 11:18 AM     #2 (permalink)
Caveat Emptor
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 3,242
Send a message via AIM to Rootstonian
Basic Algebra there.

Read array element...say it's a "7"; probably would want to make it a string variable (hint).

So, back to Algebra, what is 7 times a? Hmmm...7*a is equivalent to 7a.

This assuming that is what is called for in the assignment and not that the prof wants you to use decimal equivalent of an ASCII character.
Rootstonian is offline   Reply With Quote
Old July 6th, 2007, 05:47 PM     #3 (permalink)
Super F@D Folder
 
Join Date: Jun 2004
Posts: 5,083
Send a message via AIM to sr71000
or you might want to be doing it mod 26 type of thing...like a crypt...or cipher what's some example input and output? we need to understand the problem cus that...i don't think...makes any sense... sorry.
sr71000 is offline   Reply With Quote
Old July 7th, 2007, 05:34 AM     #4 (permalink)
Junior Member
 
Join Date: May 2006
Posts: 4
Thanks you guys for ur supports! I finally Got it
Ramimania is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
c++ programming one2adore30 Webmastering and Programming 17 August 31st, 2005 08:29 PM
programming sunny22 Webmastering and Programming 44 June 19th, 2005 01:47 AM
C++ programming HELP! TechKnickle Webmastering and Programming 3 September 19th, 2004 02:49 AM
Programming quantumlight Webmastering and Programming 22 September 10th, 2004 07:38 PM
Need help with C programming Lemon[H]ead Webmastering and Programming 9 July 8th, 2002 07:57 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3133)
‘Rogue’ or ‘Rouge’? (10)
Foxconn Blackops x48 MoBo (5)
Nvidia GTX 260 problem (14)
Delete an OS (18)
Laptop with wireless problem. (14)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
Point and Shoot Camera Suggestions. (9)
windows vista security holes (19)
[F@H SPAM 11/16/09] ! 1/2 months to.. (42)
windows 7 problem (7)
Internet Lost (5)
Recent Discussions
cant access the internet (1)
COD radeon problems (0)
Charge4All Black Friday Special - Twi.. (0)
Browsers wont load websites (4)
Unallocated Space (3)
Size after cutting 700Mb file is 2.5 .. (1)
Blackberry Bold 9000 (0)
Can't open Word (13)
Rar volume (number 7) (1)
System restore :) (1)
Laptop with wireless problem. (14)
Looking for new motherboard (2)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (42)
add ram to existing (4)
Computer shutting down on its own (6)
EVGA 9800 gtx help with finding a goo.. (13)
"Documents and Settings" fo.. (7)
Delete an OS (18)
Outputing 1080p from my PC to my 720p.. (0)
panasonic dmr ez48veb recorder (0)
Need help getting speakers to work (2)
Nvidia GTX 260 problem (14)
Point and Shoot Camera Suggestions. (9)
Is the PSU I received dead? (16)
FreeAgent drive software not x64 comp.. (1)


All times are GMT -4. The time now is 05:27 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28