A look at what is currently available on eBay
How do you create a program that picks a number/numbers from a set of given numbers?
I'd like to know how to design a program with C language which can pick a number from a group of numbers.
E.g.
A program that could pick 6 numbers from the numbers 1 to 55.
How does the coding go?
Thanks.
And I suppose there can't be any duplicates? Lottery number generator right?
I suggest you learn visual basic first, it's relatively simple but will introduce you to the concept of object oriented programming.
As far as your program, generate a random number, the (rand) function in Excel is a good one to learn from, use the (round) function to make whole numbers, filter the results with "if, then," to check for duplicates and numbers outside the range,and a loop to set the number of times to run the generator.
Items recently purchased from this site
Squirrel Nut Scoop &12 pick set by George Sharp / Wendt, Ferrari ORIGINAL Dino 246 Pouch Set- Pick Your year!! Concours Ready! , American Drew Dining Set Seats 8 Pristine condition Local pick up Tampa FL 33647, DW 6 Piece Collectors Series Maple DRUM SET LOCAL PICK UP ONLY STUDIO READY, Complete Solid Oak Pennsylvania House Bedroom Set - Pick Up Only, JAPANESE BY TIFFANY & CO. STERLING NUT PICK SET ORGINAL FITTED BOX, Wizard Of Oz Star Jars Cookie Jars Complete Set Of 11- Local Pick-Up Only, ZAKSONS DINING ROOM FURNITURE SET - TABLE CHINA CABINET BUFFET TABLE NJ PICK UP, XXXXRARE SET 8 JOHN WENDT RAMS HEAD STERLING NUT PICKS SGND BALL & BLACK c1870, OUTDOOR WICKER SOFA ROUND DINING SET PATIO FURNITURE 4R, OUTDOOR WICKER SOFA ROUND DINING SET PATIO FURNITURE 4C, Ace Frehley KISS Farewell Tour City Guitar Picks Set, POLY WICKER OUTDOOR SOFA SET HOTEL QUALITY* LAST OF THE SETS - READY4PICK UP NOW, Caligaris Dining Room Set - Italian Furniture - Miami, FL PICK UP ONLY, Complete set of all 142 Ace Farewell city guitar picks + Bonus signed guitar!!, kent coffey antique white french provincial bedroom set local pick-up beautiful, PEARL JAM COMPLETE SET OF GUITAR PICKS PROOF! OBTAINED IN PERSON BY ALL 5 COA, THE WHO COMPLETE SET OF GUITAR PICKS PROOF! OBTAINED IN PERSON COA, MIKASA BONE CHINA Royal Glimmer SERVICE 8 pc SET Lorain Ohio PICK UP**MAKE OFFER, 19" KING LATEX MATTRESS SET - Pick Up PHOENIX AREA ONLY, YORK Hex 5-50 lb DUMBBELLS w/RACK - excellent condition - pick up set in PA, Set of 4 Mercedes AMG 18" Chrome Wheels PICK UP ONLY, NEW 17" FACTORY DODGE 1500 PICK UP DAKOTA OEM CHROME WHEELS RIMS - SET OF 4 , LAYNE STALEY/ALICE IN CHAINS SET OF GUITAR PICKS PROOF! OBTAINED IN PERSON COA, One Set of 1964 Vintage Fender P-Bass Pick Ups: Original Fender "L" Series, VAN HALEN COMPLETE SET OF GUITAR PICKS PROOF! OBTAINED IN PERSON COA, KISS-FULL SET OF 142 ACE FREHLEY CITY FAREWELL TOUR GUITAR PICKS!, GIBSON "Patent Number" TIM SHAW PAF Humbucking pick-ups VINTAGE SET Chrome NICE!, 19" FULL LATEX MATTRESS SET - Pick Up PHOENIX ONLY, GIBSON "Patent Number" TIM SHAW Humbucking pick-up VINTAGE 1982 Matched Set GOLD, GIBSON P-90 SOAPBAR pick-ups Matched Set CLEAR BOBBIN Les Paul Special VINTAGE!!, SET 6 LOBSTER PICKS/MARROW SCOOP STERLING SILVER-1929, China Hutch Buffet & Set of Stiffel Lamp Vintage Country Style * PICK UP ONLY *, Skid Steer Tires, 10 x 16.5, 10 Ply, Set of Four (4), Pick up in Ft Myers, FL, 06 07 08 09 10 Honda Ridgeline Pickup Chrome Door Handle+Rear Mirror Covers Set, 05-10 Nissan Pathfinder Chrome 4 Door Handle Covers Set, Harrison Counter Height 9 piece Dining Set New Local Pick Reading PA MSRP $849, 05-10 Nissan Pathfinder Chrome 4 Door Handle Covers Set, New Rubber Hex Dumbbells 5-50 Lb Set Total 550 Lbs (PICK-UP Only) 10 Pairs, 2 Pcs Corduroy Sectional Sofa Set in Chocolate Color, 5PC SQUARE COUNTER HEIGHT DINING ROOM TABLE SET 4 STOOL, Cake Picks Party Supply Decopics Cupcake Whales Sea, Bonded Leather Match Sectional Sofa Set With Free Ottoman, Datsun 620 Pick Up Truck 73-79 New Rear Disc Brake Conversion Set!, 2 pcs Bonded Leather Match Sofa Set 2 colors (Dark Brown & Khaki), 2 pcs Bonded Leather Match Sofa Set 2 colors (Dark Brown & Khaki), Palliser Black Leather Home Recliner Movie Theater Chairs Set of 2 Pick Up In CA, CERWIN VEGA 2000-12 Speakers RARE SET Pick up ONLY, 7PC GATHERING SQUARE COUNTER HEIGHT TABLE SET 6 STOOLS, Stacking Patio Wicker Outdoor Furniture 5PC Set - 4 Chairs, 1Table - Poly Rattan, SET 4 TIRES AND WHEEL COOPER DISCOVERY ATR 245 75 16 FITS CHEVROLET PICK UP 2500, SCOTTISH SET OF 8 MARROW SCOOP/LOBSTER PICKS STERLING SILVER EDINBURG 1961, Beautiful 2 Piece Red Love Seat and Sofa Set! Middletown,Del. Pick-up only! , Datsun 620 Pick Up Truck 73-79 New Rear Disc Brake Conversion Set!, 2-Pcs Sofa Set Waffle Suede in 2 colors Truffle / Khaki, 2-Pcs Sofa Set Waffle Suede in 2 colors Truffle / Khaki, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team, NCAA Team Bar Stool w/Backrest-Set of 4- Pick Your Team,