2 5 10 17
5 8 13 20
10 13 18 25
17 20 25 32
Recommended Answers
Jump to PostI think what he's saying is that he has a homework assignment where you need to write code that outputs that pattern.
Can you please show the code you have so far, where you're stuck, and what errors you're getting? Then we can help you.
Jump to PostI see no mention of a pattern.
For each row, First number +3 to get second, Second number + 5 to get third, Third number + 7 to get fourth
For each column, First number + 3 to get second, Second number + 5 to get third, Third …
All 5 Replies
rproffitt 2,701 https://5calls.org Moderator
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
rproffitt commented: I see no mention of a pattern. But 4 lines of printf() and done given the specs so far. +0
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
rproffitt commented: How would anyone here know this? +0
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
rproffitt 2,701 https://5calls.org Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.