Giter VIP home page Giter VIP logo

let-us-c-solutions's Introduction

let-us-c-solutions's People

Contributors

ajayrakhyani avatar akhil700 avatar aksht7 avatar ankurmalhan avatar ashishpatel1992 avatar ashutoshdubey133 avatar disanv03 avatar hiverkiya avatar imgbotapp avatar ishan-21 avatar naman2608 avatar nightcoder26 avatar restyled-commits avatar riteshlavti avatar sirajalam049 avatar vedik-sagar avatar vishal-bhola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

let-us-c-solutions's Issues

A mistake in the code of Chapter - 6 Exercise - [C] (l)

Description

The solution for the question (l) in Exercise[C] of chapter 6 : More Complex Repetitions has a small mistake in line 13. The 'f' in the for is missing and or is present which is leading to an error while trying to run the program.

Tasks

In order to make it right

  • Add f to the for there by changing or to for

Details

In line 13 of the code in (l) of Exercise[C] in Chapter 6 : More Complex Repetitions the following changes are to be made

- or (j = i + 1; j < num; j++)

+ for (j = i + 1; j < num; j++)

The link to the page Link

Pull Request linking to the current issue

The following pull request has been made with the changes

Mistake in the leap year code Chapter-8

Description

The solution for the question (d) in Exercise[D] of Chapter-8 Functions has a mistake. The logic for leap is wrong

Details

The correct logic should be as follows

-  if(year%4==0 || year%100==0 || year%400==0)

+ if(yr % 4 == 0 && (yr % 100 != 0 || yr % 400 == 0))

The link to the page Link

Pull Request linking to the current issue

@hiverkiya
The following pull request has been made with the changes

PDF Solutions

I would like to have someone collate all solutions to a PDF file or separate PDF file for each chapter.

Conditional Operator is '?: '

Chapter 4
Question D(b)
(a) Using conditional operators determine:
(1) Whether the character entered through the keyboard is a lower case alphabet or not.
(2) Whether a character entered through the keyboard is a special symbol or not.

As I understant it's aksing to solve this question using conditional operator which is (condition)?(true):(false), not conditional statement if else if.

In your solution you solved this using if else statement also referred as conditional statement not conditional operator.

Chapter 20 answer wrong

Q20A(a) is wrong. Redirection operators used are wrong. They are supposed to be opposite of what you have written. Please correct.

BUG in the code

There is bug in the code LET US C SOLUTION HANDLING MULTIPLE STRING Q.No.B(K).
it is not printing correct number in words for number like this 2000278.
[https://github.com/hiverkiya/Let-Us-C-Solutions/blob/master/Chapter%2016:%20Handling%20Multiple%20Strings.md]

Structre Chapter Answer Wrong

In Structure chapter, Question C-(b) - You wrote 1 and 2 are true, while only 2nd option is true because
in maruti.engine.bolts - Maruti is a structure, which contains another structure engine inside it, but bolts is a variable inside engine structure.
Bolts is not a structure, it is a variable inside engine.
That is why, first option is wrong.

Chapter 20 Question wrong

Part b of first question is wrong. For third true and false statement, answer will be false not true. Here is the reference to support my query.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.